# Bank Key Count
Grammar — Count of keys in section section of bank bank
Flags —Native
|Function
Returns the number of keys in the specified Section of the chosen Bank.
# Arguments
bank
— Bankstring
— Section
Returns — int
native int BankKeyCount(bank b, string section);
# Related
Category: Bank / Utility
- [F] —
void
— Remove Bank Backup — ( BankBackupRemove ) - [F] —
int
— Get Bank Backup Id — ( BankBackupGetId ) - [F] —
int
— Get Bank Backup Latest Id — ( BankBackupGetLatestId ) - [F] —
void
— Restore Bank Backup — ( BankRestore ) - [F] —
void
— Backup Bank — ( BankBackup ) - [F] —
bool
— Bank Exists — ( BankExists ) - [F] —
text
— Bank Size As Text — ( BankSizeAsText ) - [F] —
string
— Bank Name — ( BankName ) - [F] —
bool
— Bank Key Exists — ( BankKeyExists ) - [F] —
text
— Bank Key Size As Text — ( BankKeySizeAsText ) - [F] —
string
— Bank Key Name — ( BankKeyName ) - [F] —
int
— Bank Key Count — ( BankKeyCount ) - [F] —
bool
— Bank Option — ( BankOptionGet ) - [F] —
int
— Bank Player — ( BankPlayer ) - [F] —
bool
— Bank Section Exists — ( BankSectionExists ) - [F] —
text
— Bank Section Size As Text — ( BankSectionSizeAsText ) - [F] —
string
— Bank Section Name — ( BankSectionName ) - [F] —
int
— Bank Section Count — ( BankSectionCount ) - [F] —
bool
— Bank Value Is Type — ( BankValueIsType ) - [F] —
void
— Delete Saved Campaign Banks — ( BankDeleteCampaignBanks ) - [F] —
bool
— Evaluate Bank Condition — ( BankConditionEvaluate ) - [F] —
void
— Set Bank Option — ( BankOptionSet ) - [F] —
void
— Create Bank Section — ( BankSectionCreate ) - [F] —
void
— Remove Bank — ( BankRemove ) - [F] —
void
— Remove Bank Key — ( BankKeyRemove ) - [F] —
void
— Remove Bank Section — ( BankSectionRemove ) - [F] —
bool
— Verify Bank — ( BankVerify )
# Examples
# mods/warcoop/warcoopdata.sc2mod
// L818
BankKeyCount(libWCdr_gv_w3CBank[lp_player], lp_section)