Sandbox.ModAPI.Ingame.MyInventoryItemFilter - bimbam2103/space_engineers GitHub Wiki

IndexNamespace Index

MyInventoryItemFilter Struct

public struct MyInventoryItemFilter

Implements inventory item filter

Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll

Fields

bool AllSubTypes

Determines whether all subtypes of the given item ID should pass this filter check.

MyDefinitionId ItemId

Specifies an item to filter. Set AllSubTypes to true to only check the main type part of this ID.

Properties

MyItemType ItemType { get; }

Constructors

MyInventoryItemFilter(string itemId, bool allSubTypes = default)

MyInventoryItemFilter(MyDefinitionId itemId, bool allSubTypes = default)

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