public sealed class InventorySafetyIssueDescribes an inventory which is not currently vanilla-safe.
Members
InventoryIdGets the game's inventory identifier.propertyKindGets the detected native inventory role.propertyNativeCapacityGets the inventory's native slot capacity.propertyPhysicalItemCountGets the number of individual world objects stored by the game.propertyOverflowCountGets the number of items beyond native capacity.propertyInventorySafetyIssueCreates an immutable vanilla-safety issue.methodInventoryId
propertypublic int InventoryIdGets the game's inventory identifier.
Kind
propertypublic InventoryKind KindGets the detected native inventory role.
NativeCapacity
propertypublic int NativeCapacityGets the inventory's native slot capacity.
PhysicalItemCount
propertypublic int PhysicalItemCountGets the number of individual world objects stored by the game.
OverflowCount
propertypublic int OverflowCount => PhysicalItemCount - NativeCapacityGets the number of items beyond native capacity.
InventorySafetyIssue
methodpublic InventorySafetyIssue( int inventoryId, InventoryKind kind, int nativeCapacity, int physicalItemCount)Creates an immutable vanilla-safety issue.