Sandbox.ModAPI.Ingame
MyInventoryItemFilter
Assembly: Sandbox.Common.dll
public struct MyInventoryItemFilter
Implements inventory item filter
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 |
Constructors
| Member | Description |
|---|---|
| MyInventoryItemFilter(string, bool) | |
| MyInventoryItemFilter(MyDefinitionId, bool) |