Cyber Engine Tweaks
Modding
Dictionary
Other
External docs
Other Wikis
Powered By GitBook
InventoryManager
Documents the InventoryManager class and its functions.
NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking InventoryManager

To invoke the inventory manager, use the following Global function:
1
im = Game.InventoryManager()
Copied!

Sub-functions

AddEquipmentStateFlag

AddEquipmentStateFlag
Info & Usage
1
AddEquipmentStateFlag(equipmentFlag : gameEEquipmentManagerState);
Copied!

AddToSlot

AddToSlot
Info & Usage
1
AddToSlot(slotIdx : Uint8, itemID : ItemID);
Copied!

ClearSlot

ClearSlot
Info & Usage
1
ClearSlot(slotIdx : Uint8);
Copied!

CreateItemData

CreateItemData
Info & Usage
1
CreateItemData(itemID : ItemID, owner : wref:GameObject) : ref:gameItemData;
Copied!

HasEquipmentStateFlag

HasEquipmentStateFlag
Info & Usage
1
HasEquipmentStateFlag(equipmentFlag : gameEEquipmentManagerState) : Bool;
Copied!

RemoveEquipmentStateFlag

RemoveEquipmentStateFlag
Info & Usage
1
RemoveEquipmentStateFlag(equipmentFlag : gameEEquipmentManagerState);
Copied!
Last modified 9mo ago