This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.ModAPI.Ingame.MyInventoryItem
Morten Aune Lyrstad edited this page Apr 16, 2022
·
18 revisions
← 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:
| Member | Description |
|---|---|
| \%1MyFixedPoint Amount](VRage.Game.ModAPI.Ingame.MyInventoryItem.Amount) | Amount of stacked items. Kg or count, based on item type. |
| \%1uint ItemId](VRage.Game.ModAPI.Ingame.MyInventoryItem.ItemId) | Id of item, unique within a single inventory. |
| \%1MyItemType Type](VRage.Game.ModAPI.Ingame.MyInventoryItem.Type) | Type of inventory item. |
| Member | Description |
|---|---|
| \%1MyInventoryItem(MyItemType, uint, MyFixedPoint)](VRage.Game.ModAPI.Ingame.MyInventoryItem..ctor) |
| Member | Description |
|---|---|
| \%1int CompareTo(MyInventoryItem)](VRage.Game.ModAPI.Ingame.MyInventoryItem.CompareTo) | |
| \%1bool Equals(MyInventoryItem)](VRage.Game.ModAPI.Ingame.MyInventoryItem.Equals) | |
| \%1bool Equals(object)](VRage.Game.ModAPI.Ingame.MyInventoryItem.Equals) | |
| \%1int GetHashCode()](VRage.Game.ModAPI.Ingame.MyInventoryItem.GetHashCode) | |
| \%1string ToString()](VRage.Game.ModAPI.Ingame.MyInventoryItem.ToString) |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!