This repository has been archived by the owner on Oct 22, 2024. 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
·
17 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:
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)
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!