VRage.Game.ModAPI.Ingame.MyInventoryItem - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index
public struct MyInventoryItem: IComparable<MyInventoryItem>, IEquatable<MyInventoryItem>
Snapshot of inventory item at the moment of query. Not updated afterwards!
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Implements:
Amount of stacked items. Kg or count, based on item type.
Id of item, unique within a single inventory.
Type of inventory item.
MyInventoryItem(MyItemType type, uint itemId, MyFixedPoint amount)
int CompareTo(MyInventoryItem other)
bool Equals(MyInventoryItem other)