Latite Scripting Documentation (Exports)
Exports > feature/manager/commandmgr > CommandManager
Class
Source: feature/manager/commandmgr.d.ts:1
new CommandManager():
CommandManager
getPrefix():
string
Gets the command prefix, default is '.'
Source: feature/manager/commandmgr.d.ts:5
string
registerCommand(cmd:
Command):void
Adds a command into the client
Source: feature/manager/commandmgr.d.ts:11
| Parameter | Type | Description |
|---|---|---|
| cmd | Command |
The command to add |
void