VRage.Game.ModAPI.Ingame
MyItemInfo
Assembly: VRage.Game.dll
public struct MyItemInfo
Accessible via GetItemInfo extension method on MyItemType
Fields
| Member | Description |
|---|---|
| IsAmmo | Gets if item type is Ammo |
| IsComponent | Gets if item type is Component |
| IsIngot | Gets if item type is Ingot |
| IsOre | Gets if item type is Ore |
| IsTool | Gets if item type is Tool |
| Mass | Mass in Kg |
| MaxStackAmount | Max possible stacks of item in single inventory slot |
| Size | Size in meters |
| UsesFractions | Ores and ingots are fractional. Ordinary items are not |
| Volume | Volume in m^3 |