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

VRage.Game.ModAPI.Ingame.IMyInventory.GetItemAmount

Malware edited this page Dec 13, 2025 · 16 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 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

Clone this wiki locally