Skip to content

VRage.Game.ModAPI.Ingame.IMyInventoryOwner

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

IndexNamespace Index

IMyInventoryOwner Interface

public interface IMyInventoryOwner

Describes interface of object that has inventory (PB scripting interface)

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

Properties

long EntityId { get; }

Gets EntityId, which it belongs to

bool HasInventory { get; }

Gets whether has inventory

int InventoryCount { get; }

Gets amount of inventories

bool UseConveyorSystem { get; set; }

Gets or sets if that inventory can interact with

Methods

IMyInventory GetInventory(int index)

Gets inventory by index

Clone this wiki locally