Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRage.Game.ModAPI.Ingame.MyItemInfo

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

IndexNamespace Index

MyItemInfo Struct

public struct MyItemInfo

Accessible via GetItemInfo extension method on MyItemType

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

Fields

Member Description
\$1bool IsAmmo](VRage.Game.ModAPI.Ingame.MyItemInfo.IsAmmo) Gets if item type is Ammo
\$1bool IsComponent](VRage.Game.ModAPI.Ingame.MyItemInfo.IsComponent) Gets if item type is Component
\$1bool IsIngot](VRage.Game.ModAPI.Ingame.MyItemInfo.IsIngot) Gets if item type is Ingot
\$1bool IsOre](VRage.Game.ModAPI.Ingame.MyItemInfo.IsOre) Gets if item type is Ore
\$1bool IsTool](VRage.Game.ModAPI.Ingame.MyItemInfo.IsTool) Gets if item type is Tool
\$1float Mass](VRage.Game.ModAPI.Ingame.MyItemInfo.Mass) Mass in Kg
\$1MyFixedPoint MaxStackAmount](VRage.Game.ModAPI.Ingame.MyItemInfo.MaxStackAmount) Max possible stacks of item in single inventory slot
\$1Vector3 Size](VRage.Game.ModAPI.Ingame.MyItemInfo.Size) Size in meters
\$1bool UsesFractions](VRage.Game.ModAPI.Ingame.MyItemInfo.UsesFractions) Ores and ingots are fractional. Ordinary items are not
\$1float Volume](VRage.Game.ModAPI.Ingame.MyItemInfo.Volume) Volume in m^3
Clone this wiki locally