public sealed class InventoryContextRead-only native inventory metadata supplied to slot providers.
Members
InventoryIdGets the game's inventory identifier.propertyNativeCapacityGets the inventory's native slot capacity.propertyPhysicalItemCountGets the number of individual world objects stored by the game.propertyKindGets the detected native inventory role.propertyNetworkModeGets the local peer's network role.propertyIsMultiplayerGets whether the current session is networked.propertyHasServerAuthorityGets whether the local peer has server authority.propertyInventoryContextCreates immutable inventory context metadata.methodInventoryId
propertypublic int InventoryIdGets the game's inventory identifier.
NativeCapacity
propertypublic int NativeCapacityGets the inventory's native slot capacity.
PhysicalItemCount
propertypublic int PhysicalItemCountGets the number of individual world objects stored by the game.
Kind
propertypublic InventoryKind KindGets the detected native inventory role.
NetworkMode
propertypublic InventoryNetworkMode NetworkModeGets the local peer's network role.
IsMultiplayer
propertypublic bool IsMultiplayer =>Gets whether the current session is networked.
HasServerAuthority
propertypublic bool HasServerAuthority =>Gets whether the local peer has server authority.
InventoryContext
methodpublic InventoryContext( int inventoryId, int nativeCapacity, int physicalItemCount, InventoryKind kind, InventoryNetworkMode networkMode)Creates immutable inventory context metadata.