LibBaggage-1.0

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.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Sep 17, 2008
Categories
Last update
Nov 03, 2010
Development stage
Release
License
GNU Lesser General Public License version 2.1 (LGPLv2.1)
Curse link
LibBaggage-1.0
Reverse relationships
1
Downloads
1,572
Recent files
  • R: v0.7 for 4.0.1 Nov 03, 2010
  • B: v0.6b for 3.3.5 Oct 09, 2010
  • R: v0.6 for 3.1.0 Oct 09, 2010
  • B: v0.5b for 3.1.0 May 21, 2009
  • R: v0.5 for 3.1.0 May 21, 2009

Authors

Relationships

Embedded library
CallbackHandler-1.0
LibStub