CommandHandlerComponent.setCommandSwitches method
CommandHandlerComponent › setCommandSwitches
Attaches the user's command switches, which every handler registered through this component reads each time a menu is built, or detaches them with ull. Handlers registered before the call see it too.PluginSettingsTabComponent calls it on load and unload; nothing else should.
Signature:
setCommandSwitches(commandSwitches: CommandSwitches | null): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| commandSwitches | CommandSwitches | null | The switches, or ull to detach them. |
Returns: void