Module Core.Client.Action
Functions
| Action.free (self) | Removes the action. |
| Action.new (self, args) | Creates a new action. |
Tables
| Action | Specify the actions and controls of players. |
| Action.enabled | Enables or disables the action. |
Functions
- Action.free (self)
-
Removes the action.
Parameters
- self: Action.
- Action.new (self, args)
-
Creates a new action.
Parameters
- self: Action class.
-
args: Arguments.
- id: Identifier string to be used internally.
- name: Human readable short name.
- desc: Human readable long description.
- func: Callback function.
Return value:
New action.