LibBaggage provides a simplified interface to the inventory. Most notably, there are only a handful of events to listen to (most addons using this library will be content with 3 or 4 of the events).
Features
- Watches the inventory, bank and equipment
- Event propagation through the CallbackHandler-1.0 library
- itemTable "data type"
- Contains the location of the item in the form of a bagID and a slotID. The bagID is mostly the same as the bagID of the normal Blizzard API, extended with the values "bank", "keyring" and "equipment" to indicate that the item is not in a bag, but in an inventory slot
- Contains all information to reconstruct a complete tooltip, notably an item link, all jewelIDs, enchantID, uniqueID, etc.
- ItemAdded event whenever an item is added to the inventory
- Arguments: bagID, slotID
- ItemRemoved event whenever an item is removed from the inventory
- Arguments: itemTable of the removed item
Planned Features
- Guildbank support
- Means to make the inventory data persistent across WoW sessions. Still, it is not planned to have LibBaggage save the data by itself. Rather, it will provide means for addons to save the data themselves and provide it back to LibBaggage in a later session.
Facts
- Date created
- 17 Sep 2008
- Categories
- Last update
- 21 May 2009
- Development stage
- Release
- License
- GNU Lesser General Public License version 2.1 (LGPLv2.1)
- Curse link
- LibBaggage-1.0
- Reverse relationships
- 1
- Recent files
- B: v0.5b for 3.1.0 on 21 May 2009
- R: v0.5 for 3.1.0 on 21 May 2009
- R: v0.4 for 3.0.2 on 28 Oct 2008
- B: v0.31-Beta for 2.4.3 on 09 Oct 2008
- B: v0.3-Beta for 2.4.3 on 08 Oct 2008
Authors
Relationships
- Embedded library
- CallbackHandler-1.0
- LibStub