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

VRage.Game.ModAPI.Ingame.MyInventoryItem

Malware edited this page Apr 8, 2019 · 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
ItemId Id of item, unique within a single inventory.
Amount Amount of stacked items. Kg or count, based on item type.
Type Type of inventory item.

Constructors

Member Description
MyInventoryItem(MyItemType, uint, MyFixedPoint)

Methods

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

Clone this wiki locally