SC2Mapster Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Help
SC2MAPSTER
News
Maps
Assets
Teams
Authors
Forums
Paste
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
SC2Mapster Wiki
1,003
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Random page
Help
SC2MAPSTER
News
Maps
Assets
Teams
Authors
Forums
Paste
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Scripting/Natives
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Scripting/Natives
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Bank== [[Scripting/Natives#Contents | Back to Contents ]] <br />-------------------------------------------------------------------------------------------------- <br />const int c_bankOptionSignature = 0; <br /> <br />const int c_bankTypeFixed = 0; <br />const int c_bankTypeFlag = 1; <br />const int c_bankTypeInt = 2; <br />const int c_bankTypeString = 3; <br />const int c_bankTypeUnit = 4; <br />const int c_bankTypePoint = 5; <br />const int c_bankTypeText = 6; <br /> <br />native void BankDeleteCampaignBanks (int player); Blizzard maps only <br />native bool BankExists (string name, int player); <br />native bank BankLastCreated (); <br />native bank BankLoad (string name, int player); <br />native string BankName (bank b); <br />native int BankPlayer (bank b); <br />native void BankRemove (bank b); <br />native void BankSave (bank b); <br />native bool BankVerify (bank b); <br /> <br />native bool BankOptionGet (bank b, int option); <br />native void BankOptionSet (bank b, int option, bool enable); <br /> <br />native int BankSectionCount (bank b); <br />native bool BankSectionExists (bank b, string section); <br />native string BankSectionName (bank b, int index); <br />native void BankSectionRemove (bank b, string section); <br /> <br />native int BankKeyCount (bank b, string section); <br />native bool BankKeyExists (bank b, string section, string key); <br />native string BankKeyName (bank b, string section, int index); <br />native void BankKeyRemove (bank b, string section, string key); <br /> <br />native bool BankValueIsType (bank b, string section, string key, int type); <br /> <br />native fixed BankValueGetAsFixed (bank b, string section, string key); <br />native void BankValueSetFromFixed (bank b, string section, string key, fixed value); <br /> <br />native bool BankValueGetAsFlag (bank b, string section, string key); <br />native void BankValueSetFromFlag (bank b, string section, string key, bool value); <br /> <br />native int BankValueGetAsInt (bank b, string section, string key); <br />native void BankValueSetFromInt (bank b, string section, string key, int value); <br /> <br />native point BankValueGetAsPoint (bank b, string section, string key); <br />native void BankValueSetFromPoint (bank b, string section, string key, point value); <br /> <br />native string BankValueGetAsString (bank b, string section, string key); <br />native void BankValueSetFromString (bank b, string section, string key, string value); <br /> <br />native text BankValueGetAsText (bank b, string section, string key); <br />native void BankValueSetFromText (bank b, string section, string key, text value); <br /> <br />native unit BankLastRestoredUnit (); <br />native unit BankValueGetAsUnit (bank b, string section, string key, int player, point p, fixed facing); <br />native void BankValueSetFromUnit (bank b, string section, string key, unit value); <br /> <br />--------------------------------------------------------------------------------------------------
Summary:
Please note that all contributions to the SC2Mapster Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab