VRage.Game.ModAPI.Ingame.IMyInventory.GetItemAmount - bimbam2103/space_engineers GitHub Wiki

IndexNamespace IndexIMyInventory

Summary

public MyFixedPoint GetItemAmount(MyItemType itemType)

Sums up total amount of items of given type contained inside this inventory.

Returns

MyFixedPoint

Total amount of given item type contained inside this inventory. Kg or count, based on item type

Parameters

⚠️ **GitHub.com Fallback** ⚠️