Originally Posted by Rainrider
There is one case which is somewhat inconsistent and that is LE_ITEM_CLASS_CONSUMABLE.
GetItemClassInfo(LE_ITEM_CLASS_CONSUMABLE) returns nil, but the 6th return of GetItemInfo for consumable items is "" (an empty string).
|
It's a bug. Theirs DB2 lookup code fails looking for 0 index (LE_ITEM_CLASS_CONSUMABLE is 0). I doubt it will ever be fixed... Also GetItemSubClassInfo works for consumable (the reason for this is that it enumerates all DB2 rows instead of using lookup by id).