Class MyItemInfo
Accessible via GetItemInfo
extension method on MyItemType
Inheritance
System.Object
MyItemInfo
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
Syntax
public sealed class MyItemInfo : ValueType
Fields
IsAmmo
Gets if item type is Ammo
Declaration
public bool IsAmmo
Field Value
Type | Description |
---|---|
System. |
IsComponent
Gets if item type is Component
Declaration
public bool IsComponent
Field Value
Type | Description |
---|---|
System. |
IsIngot
Gets if item type is Ingot
Declaration
public bool IsIngot
Field Value
Type | Description |
---|---|
System. |
IsOre
Gets if item type is Ore
Declaration
public bool IsOre
Field Value
Type | Description |
---|---|
System. |
IsTool
Gets if item type is Tool
Declaration
public bool IsTool
Field Value
Type | Description |
---|---|
System. |
Mass
Mass in Kg
Declaration
public float Mass
Field Value
Type | Description |
---|---|
System. |
MaxStackAmount
Max possible stacks of item in single inventory slot
Declaration
public MyFixedPoint MaxStackAmount
Field Value
Type | Description |
---|---|
VRage. |
Size
Size in meters
Declaration
public Vector3 Size
Field Value
Type | Description |
---|---|
Vector3 |
UsesFractions
Ores and ingots are fractional. Ordinary items are not
Declaration
public bool UsesFractions
Field Value
Type | Description |
---|---|
System. |
Volume
Volume in m^3
Declaration
public float Volume
Field Value
Type | Description |
---|---|
System. |