GetInventory
Summary
public IMyInventory GetInventory()
Simply get the MyInventoryBase component stored in this entity.
Returns
Null, or first inventory
Summary
public IMyInventory GetInventory(int index)
Search for inventory component with matching index.
Returns
Null, or inventory at matching index
Parameters
- int index