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

VRage.Game.ModAPI.Ingame.IMyInventoryItem

Morten Aune Lyrstad edited this page May 8, 2022 · 36 revisions

IndexNamespace Index

IMyInventoryItem Interface

public interface IMyInventoryItem

Describes item stack in inventory (program block interface)

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

Properties

MyFixedPoint Amount { get; set; }

Gets or sets amount of items

MyObjectBuilder_Base Content { get; set; }

Gets or sets content of inventory item. Cast it to VRage.Game.MyObjectBuilder_PhysicalObject

uint ItemId { get; set; }

Item Id. Used to determine exact stack

float Scale { get; set; }

Gets or sets scale of Floating object

Clone this wiki locally