Assembly: VRage.Game.dll

public struct MyInventoryItem: IComparable<MyInventoryItem>, IEquatable<MyInventoryItem>

Snapshot of inventory item at the moment of query. Not updated afterwards!

Fields

Member Description
Amount Amount of stacked items. Kg or count, based on item type.
ItemId Id of item, unique within a single inventory.
Type Type of inventory item.

Constructors

Member Description
MyInventoryItem(MyItemType, uint, MyFixedPoint)

Methods

Member Description
CompareTo(MyInventoryItem)
Equals(MyInventoryItem)
Equals(object)
GetHashCode()
ToString()

Implements: