VRage.Game.ModAPI.Ingame.IMyInventory.GetItems
Morten Aune Lyrstad edited this page Apr 16, 2022
·
28 revisions
← Index ← Namespace Index ← IMyInventory
public void GetItems(List<MyInventoryItem> items, Func<MyInventoryItem, bool> filter = null)
Collects all items present inside this inventory and returns snapshot of the current inventory state.
- List<MyInventoryItem> items
- Func<MyInventoryItem, bool> filter
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!