Skip to main content

CratingValidationStruct

A struct with tools for validating CraftingItem properties.

Index

Properties

GetDefault

GetDefault: (craft: CraftingItem, asset: Asset, checkPlayerInventory?: boolean) => any

A function that creates default values for when the validation fails


Type declaration

StatusCode

StatusCode: CraftingStatusType

Validate

Validate: (craft: CraftingItem, asset: Asset, checkPlayerInventory?: boolean) => boolean

The validation function


Type declaration

Page Options