#
plugins.core.action.handler
A support class for handler handlers. It is not used directly, rather it is a 'super class' that provides common functionality.
Instances of the class primarily need to provide functions for the following:
local handler = actionManager:addHandler("foobar")
:onChoices(function(choices) ... end)
:onExecute(function(action) ... end)
The choices added to the choices
should have the params
value set to a table
containing the details of the action to execute if the choice is selected.
#
API Overview
Constructors - API calls which return an object, typically one that offers API methods
new
Fields - Variables which can only be accessed from an object returned by a constructor
cached choices
Methods - API calls which can only be made on an object returned by a constructor
actionId execute group id label onActionId onChoices onExecute reset