class game
Inventory
game.Inventory
- 3 properties
- 6 functions
Extends game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
saveInventory | bool | 0xB6 | |
inventoryTag | game.SharedInventoryTag | 0xB0 | |
noInitialization | bool | 0xB4 |
Functions
bool IsAccessible()RTTIre.Hooks.Place( "gameInventory", "IsAccessible", (Inventory_IsAccessible x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Inventory_IsAccessible( game.Inventory self );bool ReinitializeStatsOnAllItems()RTTIre.Hooks.Place( "gameInventory", "ReinitializeStatsOnAllItems", (Inventory_ReinitializeStatsOnAllItems x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Inventory_ReinitializeStatsOnAllItems( game.Inventory self );game.interactions.ELootChoiceType IsChoiceAvailable(game.data.ItemAction_Record itemActionRecord, game.Object requester, ent.EntityID ownerEntID, game.ItemID itemID)RTTIre.Hooks.Place( "gameInventory", "IsChoiceAvailable;ItemAction_RecordGameObjectEntityIDItemID", (Inventory_IsChoiceAvailable x) => { return re.Hooks.CallOriginal<re.msgpack.game.interactions.ELootChoiceType>(); } ); [Msgpack.Gen] public readonly partial record struct Inventory_IsChoiceAvailable( game.Inventory self, game.data.ItemAction_Record? itemActionRecord, game.Object? requester, ent.EntityID ownerEntID, game.ItemID itemID );bool OnLootAllEvent(game.OnLootAllEvent evt)RTTIre.Hooks.Place( "gameInventory", "OnLootAllEvent", (Inventory_OnLootAllEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Inventory_OnLootAllEvent( game.Inventory self, game.OnLootAllEvent? evt );bool OnInteractionUsed(game.interactions.ChoiceEvent evt)RTTIre.Hooks.Place( "gameInventory", "OnInteractionUsed", (Inventory_OnInteractionUsed x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct Inventory_OnInteractionUsed( game.Inventory self, game.interactions.ChoiceEvent? evt );static game.ItemData? CreateItemData(game.ItemModParams itemData, WeakHandle<game.Object> owner)staticRTTIre.Hooks.Place( "gameInventory", "CreateItemData", (Inventory_CreateItemData x) => { return re.Hooks.CallOriginal<re.msgpack.game.ItemData>(); } ); [Msgpack.Gen] public readonly partial record struct Inventory_CreateItemData( game.ItemModParams itemData, WeakHandle<game.Object> owner );