◆ CommandFunc()
delegate bool Pathfinder.Command.Handler.CommandFunc |
( |
OS |
os, |
|
|
List< string > |
args |
|
) |
| |
◆ RegisterCommand()
static string Pathfinder.Command.Handler.RegisterCommand |
( |
string |
key, |
|
|
CommandFunc |
function, |
|
|
string |
description = null , |
|
|
bool |
autoComplete = false |
|
) |
| |
|
static |
- Returns
- The full mod command id if added to the game,
null
otherwise
- Parameters
-
key | The key used to run the command. |
function | The function run when command is input. |
description | A description to input when help is command is run (if not null). |
autoComplete | If set to true then autocomplete for command is enabled. |
The documentation for this class was generated from the following file: