Optional
actionOptional
actionOptional
boundOptional
categoryName of the action's category. Categories are defined in the global actionCategories object. Default is general.
Optional
checkOptional
checkedOptional
disabledRest
...params: any[]Optional
getOptional
hotkeyDetermines whether the action can be tied to a hotkey. Default is false.
Optional
hotkeyOptional
iconIcon that shows in menus that contain the action. The icon ids are located in skin/(iconname).svg.
Optional
submenuOptional
titleTitle of the action.
Optional
visibleDetermines whether the action will show up in menus. This can be useful for integrating party mode, for example, by disabling your action when party mode is enabled with visible: uitools.getCanEdit
.
Undocumented