REDNODE / GAME API

Inventory

classnative name gameInventorynative

extends GameComponent › IComponent › IScriptable › ISerializable

Properties 3

NameTypeFlags
inventoryTaggameSharedInventoryTagoverriding
noInitializationBooloverriding
saveInventoryBooloverriding

Methods 6

static native func CreateItemData(itemData: ItemModParams, owner: wref<GameObject>) -> ref<gameItemData>
native func IsAccessible() -> Bool
public final func IsChoiceAvailable(itemActionRecord: ref<ItemAction_Record>, requester: ref<GameObject>, ownerEntID: EntityID, itemID: ItemID) -> gameinteractionsELootChoiceTypescripted
protected final cb func OnInteractionUsed(evt: ref<InteractionChoiceEvent>) -> Boolscripted
protected final cb func OnLootAllEvent(evt: ref<OnLootAllEvent>) -> Boolscripted
native func ReinitializeStatsOnAllItems() -> Bool