WoW:API GetBagName: Difference between revisions

m
Notes
No edit summary
m (Notes)
Line 20: Line 20:


: bagName will contain the name of the specified bag if the bag number is 0-4 otherwise it will be nil, unless when the bank is opened, in which case GetBagName(-1) (for the bank) is nil and GetBagName(6) will give the name of the first bank bag, GetBagName(7) the name of the second bank bag, etc ...
: bagName will contain the name of the specified bag if the bag number is 0-4 otherwise it will be nil, unless when the bank is opened, in which case GetBagName(-1) (for the bank) is nil and GetBagName(6) will give the name of the first bank bag, GetBagName(7) the name of the second bank bag, etc ...
----
;''Notes''
: It seems that there is no way to check the keyholder content; GetContainerNumSlots and GetBagName returns 0 and nil while bagID is -2.
:: GetBagName(-2) - returns nil
:: GetContainerNumSlots(-2) - returns 0


----
----
{{WoW API}}
{{WoW API}}