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 13, 2025 · 17 revisions

DEPRECATION NOTICE

This API documentation is out of date and no longer maintained.

Please visit the new documentation at: https://malforge.github.io/spaceengineers/pbapi

IndexNamespace IndexIMyEntity

Summary

public IMyInventory GetInventory()

Simply get the MyInventoryBase component stored in this entity.

Returns

IMyInventory

Inventory

Summary

public IMyInventory GetInventory(int index)

Search for inventory component with maching index.

Returns

IMyInventory

Parameters

Clone this wiki locally