Method | Description | |
---|---|---|
CreateCommand ( CommandType type, string arguments ) : |
||
RegisterCommand ( |
||
RegisterCommandHandler ( string str, ClientCommandDelegate handler ) : void |
Registers a ClientCommand handler to a specific command
|
Method | Description | |
---|---|---|
CommandManager ( ) : System | ||
CreateCommandFromGameEngine ( CommandType type ) : |
Creates a command class instance using the gameengine command calls
|
|
Execute ( |
This function is used internally. It executes all needed handlers when a specific command occures.
|
|
ServerCommandHandler ( string arguments ) : void |
public static CreateCommand ( CommandType type, string arguments ) : |
||
type | CommandType | |
arguments | string | |
return |
public static RegisterCommand ( |
||
type | ||
return | void |
public static RegisterCommandHandler ( string str, ClientCommandDelegate handler ) : void | ||
str | string |
/// The beginning of the string to witch it has to match (for example "say /death") |
handler | ClientCommandDelegate |
/// A handler which to invoke if command occures |
return | void |