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

Sandbox.ModAPI.Ingame.MyInventoryItemFilter

Morten Aune Lyrstad edited this page Jun 28, 2020 · 47 revisions

IndexNamespace Index

MyInventoryItemFilter Struct

public struct MyInventoryItemFilter

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

Fields

Member Description
AllSubTypes Determines whether all subtypes of the given item ID should pass this filter check.
ItemId Specifies an item to filter. Set AllSubTypes to true to only check the main type part of this ID.

Properties

Member Description
ItemType { get; }

Constructors

Member Description
MyInventoryItemFilter(string, bool)
MyInventoryItemFilter(MyDefinitionId, bool)

Clone this wiki locally