CratingValidationStruct
Index
Properties
Properties
GetDefault
A function that creates default values for when the validation fails
Type declaration
Parameters
craft: CraftingItem
asset: Asset
checkPlayerInventory: boolean
partial: boolean
Returns any
optionalPartial
Marker for properties present in both CraftingItem and CraftingPartialItem. Used for partial crafting item validation.
StatusCode
The CraftingStatusType code for when the validation fails
Validate
The validation function
Type declaration
Parameters
craft: CraftingItem
asset: Asset
checkPlayerInventory: boolean
partial: boolean
Returns boolean
A struct with tools for validating CraftingItem properties.