WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   WoD Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=151)
-   -   Summary of API for the Reagent Bank? (https://www.wowinterface.com/forums/showthread.php?t=50124)

bsmorgan 10-16-14 05:11 PM

Summary of API for the Reagent Bank?
 
Is there a summary published anywhere for the Reagent Bank API? I've found bits and pieces in this Forum but not enough (for me) to implement using it in an addon.

Thanks,

Brad

Lombra 10-16-14 05:39 PM

Not much to know. It uses the regular container API.

Code:

GetContainerItemInfo(REAGENTBANK_CONTAINER, slot)
and you have a coupla events
Code:

REAGENTBANK_PURCHASED
PLAYERREAGENTBANKSLOTS_CHANGED(slot)


Gethe 10-16-14 05:55 PM

Actually they did add a few functions specific to the Reagent Bank:

BuyReagentBank()
DepositReagentBank()
GetReagentBankCost()
IsReagentBankUnlocked()
ReagentBankButtonIDToInvSlotID()
SortReagentBankBags()


All times are GMT -6. The time now is 12:19 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI