ExtendedItemCallbacks
Index
Type Aliases
AfterDraw
Callback for extended item AfterDraw functions.
Relevant for assets that define Asset.DynamicAfterDraw.
Type parameters
- PersistentData: Record<string, any> = Record<string, unknown>
BeforeDraw
Callback for extended item BeforeDraw functions.
Relevant for assets that define Asset.DynamicBeforeDraw.
Type parameters
- PersistentData: Record<string, any> = Record<string, unknown>
Click
Callback for extended item Click functions.
Click functions are responsible for managing any mouse clicks within the extended item menu.
Draw
Callback for extended item Draw functions.
Draw functions are responsible for drawing any UI elements within the extended item menu.
Exit
Callback for extended item Exit functions.
Exit functions are responsible for cleaning up any UI elements when closing the extended item menu.
Init
Callback for extended item Init functions.
Init functions are responsible for setting the initial properties of an extended item.
Load
Callback for extended item Load functions.
Load functions are responsible for setting up the UI when initially opening the extended item menu.
PublishAction
Callback for extended item PublishAction functions.
PublishAction functions are responsible for reporting any changes to an item's properties via a chat message.
Type parameters
- OptionType: ExtendedItemOption
ScriptDraw
Callback for extended item ScriptDraw functions.
Relevant for assets that define Asset.DynamicScriptDraw.
Type parameters
- PersistentData: Record<string, any> = Record<string, unknown>
SetOption
Validate
Callback for extended item Validate functions.
Validate functions are responsible for validating any change in an item's properties.
Type parameters
- OptionType: ExtendedItemOption
Namespace with item-specific functions typically called by extended items.