LibGuildBankComm-1.0

  • 3 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
API myrroddin Starinnia May 25, 2011
LibGuildBankComm-1.0 synchronizes guild bank data across all guild members running the library or some embedding addon. Data is stored privately within the library but can be accessed through the functions below. See the examples page for information regarding the available callbacks and more complete examples of using the Library in your addons. LibGuildBankComm:GetGuildFunds() Returns the amount of money in the guild back in copper. Usage local LGBC = LibStub("LibGuildBankComm-1.0") local...
Examples Starinnia Starinnia Jul 07, 2011
local MyAddon = LibStub("AceAddon-3.0"):NewAddon("MyAddon", "AceConsole-3.0") local LGBC = LibStub("LibGuildBankComm-1.0") function MyAddon:OnEnable() --Register the 3 available callbacks LGBC.RegisterCallback(self, "GuildBankComm_PageUpdate", "OnPageSync") LGBC.RegisterCallback(self, "GuildBankComm_FundsUpdate", "OnMoneySync") LGBC.RegisterCallback(self, "GuildBankComm_TabsUpdate", "OnTabSync") end function MyAddon:OnPageSync(event, sender, page, guildName) --items on a page have changed,...
Main myrroddin myrroddin Feb 19, 2013
LibGuildBankComm-1.0 A Perfect World There are many addons that take a snapshot of the guild bank; however, since most users only use one of them, and none of them speak the same data type, guild members have snapshots that are out of sync with each other. LibGuildBankComm-1.0 takes the snapshot and standardizes the data, so any addons that support it all speak the same language. Further, when one user visits the guild bank, then all users with the lib are updated automatically to the latest...
  • 3 pages found