Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.Game.ModAPI.Ingame.IMyEntity.GetInventory

Malware edited this page Dec 25, 2018 · 17 revisions

IndexIMyEntity

csharp[IMyInventory](VRage.Game.ModAPI.Ingame.IMyInventory) GetInventory()##### Summary

Simply get the MyInventoryBase component stored in this entity.

Returns

csharp[IMyInventory](VRage.Game.ModAPI.Ingame.IMyInventory) GetInventory([int](System.Int32) index)##### Summary

Search for inventory component with maching index.

Clone this wiki locally