InventoryManager

Documents the InventoryManager class and its functions.

triangle-exclamation

Invoking InventoryManager

To invoke the inventory manager, use the following Global function:

im = Game.InventoryManager()

Sub-functions

AddEquipmentStateFlag

AddEquipmentStateFlag(equipmentFlag : gameEEquipmentManagerState);

AddToSlot

AddToSlot(slotIdx : Uint8, itemID : ItemID);

ClearSlot

ClearSlot(slotIdx : Uint8);

CreateItemData

CreateItemData(itemID : ItemID, owner : wref:GameObject) : ref:gameItemData;

HasEquipmentStateFlag

RemoveEquipmentStateFlag

Last updated