MyInventoryItemFilter Constructor (MyDefinitionId, Boolean) |
v01.180.0 (Beta)[This is preliminary documentation and is subject to change.]
Namespace: Sandbox.ModAPI.IngameAssembly: Sandbox.Common (in Sandbox.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public MyInventoryItemFilter(
MyDefinitionId itemId,
bool allSubTypes = false
)
Public Sub New (
itemId As MyDefinitionId,
Optional allSubTypes As Boolean = false
)
public:
MyInventoryItemFilter(
MyDefinitionId itemId,
bool allSubTypes = false
)
new :
itemId : MyDefinitionId *
?allSubTypes : bool
(* Defaults:
let _allSubTypes = defaultArg allSubTypes false
*)
-> MyInventoryItemFilter
Parameters
- itemId
- Type: MyDefinitionId
- allSubTypes (Optional)
- Type: SystemBoolean
See Also