This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Sandbox.ModAPI.Ingame.MyInventoryItemFilter
Morten Aune Lyrstad edited this page May 8, 2022
·
46 revisions
← Index ← Namespace Index
public struct MyInventoryItemFilter
Implements inventory item filter
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Determines whether all subtypes of the given item ID should pass this filter check.
Specifies an item to filter. Set AllSubTypes to true to only check the main type part of this ID.
MyInventoryItemFilter(string itemId, bool allSubTypes = default)
MyInventoryItemFilter(MyDefinitionId itemId, bool allSubTypes = default)
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!