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

Sandbox.ModAPI.Ingame.MyInventoryItemFilter

Morten Aune Lyrstad edited this page Apr 16, 2022 · 46 revisions

IndexNamespace Index

MyInventoryItemFilter Struct

public struct MyInventoryItemFilter

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

Fields

Member Description
[bool AllSubTypes](Sandbox.ModAPI.Ingame.MyInventoryItemFilter.AllSubTypes) Determines whether all subtypes of the given item ID should pass this filter check.
[MyDefinitionId ItemId](Sandbox.ModAPI.Ingame.MyInventoryItemFilter.ItemId) Specifies an item to filter. Set AllSubTypes to true to only check the main type part of this ID.

Properties

Member Description
[MyItemType ItemType { get; }](Sandbox.ModAPI.Ingame.MyInventoryItemFilter.ItemType)

Constructors

Member Description
[MyInventoryItemFilter(string, [bool])](Sandbox.ModAPI.Ingame.MyInventoryItemFilter..ctor)
[MyInventoryItemFilter(MyDefinitionId, [bool])](Sandbox.ModAPI.Ingame.MyInventoryItemFilter..ctor)
Clone this wiki locally