12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 27 ■ API <strong>Reference</strong> 705Returns:type—Type <strong>of</strong> transaction (string)depositmoverepairwithdrawname—Name <strong>of</strong> the guild member responsible <strong>for</strong> the transaction (string)itemLink—A hyperlink <strong>for</strong> the item involved in the transaction (string,hyperlink)count—Number <strong>of</strong> stacked items involved in the transaction (number)tab1—Index <strong>of</strong> the source tab, if the item was moved between tabs (number)tab2—Index <strong>of</strong> the destination tab, if the item was moved between tabs(number)year—Number <strong>of</strong> years since the event occurred (number)month—Number <strong>of</strong> months since the event occurred (number)day—Number <strong>of</strong> days since the event occurred (number)hour—Number <strong>of</strong> hours since the event occurred (number)GetGuildBankWithdrawLimitReturns the guild bank money withdrawal limit <strong>for</strong> the guild rank currentlybeing edited.goldWithdrawLimit = GetGuildBankWithdrawLimit()Returns:goldWithdrawLimit—Amount <strong>of</strong> money the guild rank is allowed towithdraw from the guild bank per day (in copper), or -1 if the guild rank hasunlimited withdrawal privileges (number)GetGuildBankWithdrawMoneyReturns the amount <strong>of</strong> money the player is allowed to withdraw from the guildbank per day.withdrawLimit = GetGuildBankWithdrawMoney()Returns:withdrawLimit—Amount <strong>of</strong> money the player is allowed to withdraw fromthe guild bank per day (in copper), or -1 if the player has unlimited withdrawalprivileges (number)GetGuildCharterCostReturns the cost to purchase a guild charter.cost = GetGuildCharterCost()Usable if the player is interacting with a guild registrar (i.e. between theGUILD_REGISTRAR_SHOW <strong>and</strong> GUILD_REGISTRAR_CLOSED events).Returns:cost—Cost to purchase a guild charter (in copper) (number)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!