Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRage.Game.ModAPI.Ingame.IMyInventory.FindItem

Morten Aune Lyrstad edited this page Oct 10, 2019 · 17 revisions

IndexNamespace IndexIMyInventory

Summary

public MyInventoryItem? FindItem(MyItemType itemType)

Tries to find an item of given type inside this inventory.

Returns

MyInventoryItem?

Info about item found, null in case there is no item of given type inside this inventory

Parameters

Clone this wiki locally