多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
The[Guild bank](https://wow.gamepedia.com/Guild_bank "Guild bank")was introduced in[Patch 2.3.0](https://wow.gamepedia.com/Patch_2.3.0 "Patch 2.3.0"). [AutoStoreGuildBankItem](https://wow.gamepedia.com/API_AutoStoreGuildBankItem "API AutoStoreGuildBankItem")(tab, slot) - Withdraws an item from the bank, and automatically stores it in the player's inventory. [BuyGuildBankTab](https://wow.gamepedia.com/index.php?title=API_BuyGuildBankTab&action=edit&redlink=1 "API BuyGuildBankTab (page does not exist)")() - Buys a guild bank tab, without confirmation. [CanEditGuildBankTabInfo](https://wow.gamepedia.com/index.php?title=API_CanEditGuildBankTabInfo&action=edit&redlink=1 "API CanEditGuildBankTabInfo (page does not exist)")() [CanGuildBankRepair](https://wow.gamepedia.com/index.php?title=API_CanGuildBankRepair&action=edit&redlink=1 "API CanGuildBankRepair (page does not exist)")() [CanWithdrawGuildBankMoney](https://wow.gamepedia.com/index.php?title=API_CanWithdrawGuildBankMoney&action=edit&redlink=1 "API CanWithdrawGuildBankMoney (page does not exist)")() - Boolean, true if player is permitted to withdraw funds. No bank proximity required. [CloseGuildBankFrame](https://wow.gamepedia.com/index.php?title=API_CloseGuildBankFrame&action=edit&redlink=1 "API CloseGuildBankFrame (page does not exist)")() - Closes the guild bank frame. [DepositGuildBankMoney](https://wow.gamepedia.com/index.php?title=API_DepositGuildBankMoney&action=edit&redlink=1 "API DepositGuildBankMoney (page does not exist)")(money) - Deposits "money" amount in copper. [GetCurrentGuildBankTab](https://wow.gamepedia.com/index.php?title=API_GetCurrentGuildBankTab&action=edit&redlink=1 "API GetCurrentGuildBankTab (page does not exist)")() - Integer of selected tab, >= 1. [GetGuildBankBonusDepositMoney](https://wow.gamepedia.com/index.php?title=API_GetGuildBankBonusDepositMoney&action=edit&redlink=1 "API GetGuildBankBonusDepositMoney (page does not exist)")() [GetGuildBankItemInfo](https://wow.gamepedia.com/API_GetGuildBankItemInfo "API GetGuildBankItemInfo")(tab, slot) - Returns texture, amount and integer 1 or nil depending on locked state. [GetGuildBankItemLink](https://wow.gamepedia.com/API_GetGuildBankItemLink "API GetGuildBankItemLink")(tab, slot) - Returns itemLink. [GetGuildBankMoney](https://wow.gamepedia.com/API_GetGuildBankMoney "API GetGuildBankMoney")() - Integer, funds available in copper. [GetGuildBankMoneyTransaction](https://wow.gamepedia.com/API_GetGuildBankMoneyTransaction "API GetGuildBankMoneyTransaction")(index) - No bank proximity required, however QueryGuildBankLog function requires proximity. [GetGuildBankTabCost](https://wow.gamepedia.com/index.php?title=API_GetGuildBankTabCost&action=edit&redlink=1 "API GetGuildBankTabCost (page does not exist)")() - Integer OR nil - cost in copper OR no tabs available to buy. [GetGuildBankTabInfo](https://wow.gamepedia.com/API_GetGuildBankTabInfo "API GetGuildBankTabInfo")(tab) - Returns the name and icon of the guild bank tab queried. [GetGuildBankTabPermissions](https://wow.gamepedia.com/API_GetGuildBankTabPermissions "API GetGuildBankTabPermissions")(tab) - Gets display / player's access info. Limited data available without bank proximity. [GetGuildBankText](https://wow.gamepedia.com/index.php?title=API_GetGuildBankText&action=edit&redlink=1 "API GetGuildBankText (page does not exist)")() [GetGuildBankTransaction](https://wow.gamepedia.com/API_GetGuildBankTransaction "API GetGuildBankTransaction")(tab, index) - Requires Guild Bank Proximity. [GetGuildBankWithdrawGoldLimit](https://wow.gamepedia.com/API_GetGuildBankWithdrawGoldLimit "API GetGuildBankWithdrawGoldLimit")() - Returns withdraw limit for currently selected rank in guild control. [GetGuildBankWithdrawMoney](https://wow.gamepedia.com/API_GetGuildBankWithdrawMoney "API GetGuildBankWithdrawMoney")() [GetNumGuildBankMoneyTransactions](https://wow.gamepedia.com/index.php?title=API_GetNumGuildBankMoneyTransactions&action=edit&redlink=1 "API GetNumGuildBankMoneyTransactions (page does not exist)")() - Returns number of money log entries. [GetNumGuildBankTabs](https://wow.gamepedia.com/index.php?title=API_GetNumGuildBankTabs&action=edit&redlink=1 "API GetNumGuildBankTabs (page does not exist)")() - Integer count of bought tabs, >= 0. No bank proximity required. [GetNumGuildBankTransactions](https://wow.gamepedia.com/index.php?title=API_GetNumGuildBankTransactions&action=edit&redlink=1 "API GetNumGuildBankTransactions (page does not exist)")(tab) - Returns number of log transactions for tab "tab". [QueryGuildBankLog](https://wow.gamepedia.com/index.php?title=API_QueryGuildBankLog&action=edit&redlink=1 "API QueryGuildBankLog (page does not exist)")(tab) - Updates bank log data from the server, called before all transaction functions. "Money tab" is MAX\_GUILDBANK\_TABS+1. [QueryGuildBankTab](https://wow.gamepedia.com/index.php?title=API_QueryGuildBankTab&action=edit&redlink=1 "API QueryGuildBankTab (page does not exist)")(tab) - Updates bank tab data from the server, called before all item functions. [QueryGuildBankText](https://wow.gamepedia.com/index.php?title=API_QueryGuildBankText&action=edit&redlink=1 "API QueryGuildBankText (page does not exist)")() [SetCurrentGuildBankTab](https://wow.gamepedia.com/index.php?title=API_SetCurrentGuildBankTab&action=edit&redlink=1 "API SetCurrentGuildBankTab (page does not exist)")(tab) - Select different bank tab in the UI. [SetGuildBankTabInfo](https://wow.gamepedia.com/index.php?title=API_SetGuildBankTabInfo&action=edit&redlink=1 "API SetGuildBankTabInfo (page does not exist)")(tab, name, iconIndex) - Modifies name and icon for tab. [SetGuildBankTabItemWithdraw](https://wow.gamepedia.com/index.php?title=API_SetGuildBankTabItemWithdraw&action=edit&redlink=1 "API SetGuildBankTabItemWithdraw (page does not exist)")() [SetGuildBankTabPermissions](https://wow.gamepedia.com/API_SetGuildBankTabPermissions "API SetGuildBankTabPermissions")(tab, index, enabled) - Modifies the permissions for the GuildBankTab. Guild Leader Only. [SetGuildBankText](https://wow.gamepedia.com/index.php?title=API_SetGuildBankText&action=edit&redlink=1 "API SetGuildBankText (page does not exist)")() [SetGuildBankWithdrawGoldLimit](https://wow.gamepedia.com/API_SetGuildBankWithdrawGoldLimit "API SetGuildBankWithdrawGoldLimit")(amount) - Sets the gold withdraw limit from the guild bank. Guild Leader Only. [SplitGuildBankItem](https://wow.gamepedia.com/index.php?title=API_SplitGuildBankItem&action=edit&redlink=1 "API SplitGuildBankItem (page does not exist)")(tab, slot, amount) - Picks up part of a stack. [WithdrawGuildBankMoney](https://wow.gamepedia.com/index.php?title=API_WithdrawGuildBankMoney&action=edit&redlink=1 "API WithdrawGuildBankMoney (page does not exist)")(money) - Withdraws "money" copper from the guild bank.