Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.Game.ModAPI.Ingame.MyInventoryItem

Morten Aune Lyrstad edited this page Apr 16, 2022 · 18 revisions

IndexNamespace Index

MyInventoryItem Struct

public struct MyInventoryItem: IComparable<VRage.Game.ModAPI.Ingame.MyInventoryItem>, IEquatable<VRage.Game.ModAPI.Ingame.MyInventoryItem>

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

Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll

Implements:

Fields

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

Constructors

Member Description
MyInventoryItem(MyItemType, uint, MyFixedPoint)

Methods

Member Description
int CompareTo(MyInventoryItem)
bool Equals(MyInventoryItem)
bool Equals(object)
int GetHashCode()
string ToString()

Clone this wiki locally