LibItem
I have spent considerable time debuging the War Lookup tables and hidden API
functions to grab stats in a dynamic matter that doesn't require addon specific
lookup tables. This is an attempt to centralize all of the Item lookup and
helper functions for getting stats on Items.
Currently:
* ItemLib.Get*(W)String(itemData) functions that will take an item and
return a (w)string for requested * value, such as Name, Rating, and most
other stats. It will return a table of strings for types that can be on
an item twice, such as bonuses.
* Dynamic lookup of Potion stats! Give the itemData and get a table of
correct stat descriptions and for all the use: strings. This is bundeled
with the same GetBonuses call.
* All strings return will be part of the WAR function returns, so return
strings will be in the same localization as WAR.
* Versioned with Libstub, this library is embeddable and can also be loaded
as another addon, developers choice.
Current TODO List:
* Use libstub
* Fix function logic so I dont do WStringToString and then call the GetStr
from GetWStr. I found this late and wanted to quickly fix the wrong
behavior.
* Add a generic GetStringItem( itemData ) method that will do just a raw
print of all the other calls on an item.
* Add a GetStringifiedItemTable( itemData ) that will return a table that
is itemData equiv except instead of reference ids it will have text
strings
* Support more information, such as talisman data on item
* Add Has* methods.
Facts
- Date created
- 01 Oct 2008
- Category
- Last update
- 05 Oct 2008
- Development stage
- Inactive
- License
- All Rights Reserved
- Curse link
- LibItem
- Recent files
- B: v0.2.0Beta for Beta 3.0 on 05 Oct 2008
- A: r15 for Beta 3.0 on 05 Oct 2008
- B: v0.1.2Beta for Beta 3.0 on 04 Oct 2008
- A: r13 for Beta 3.0 on 04 Oct 2008
- A: r12 for Beta 3.0 on 04 Oct 2008