This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRage.Game.ModAPI.Ingame.MyItemInfo
Morten Aune Lyrstad edited this page Feb 3, 2022
·
12 revisions
← Index ← Namespace Index
public struct MyItemInfoAccessible via GetItemInfo extension method on MyItemType
Namespace: VRage.Game.ModAPI.Ingame
Assembly: VRage.Game.dll
| Member | Description |
|---|---|
| Mass | Mass in Kg |
| Size | Size in meters |
| Volume | Volume in m^3 |
| MaxStackAmount | Max possible stacks of item in single inventory slot |
| UsesFractions | Ores and ingots are fractional. Ordinary items are not |
| IsOre | Gets if item type is Ore |
| IsIngot | Gets if item type is Ingot |
| IsComponent | Gets if item type is Component |
| IsTool | Gets if item type is Tool |
| IsAmmo | Gets if item type is Ammo |
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!