Function Blam::Console::RegisterCommand¶
Defined in File console.h
Function Documentation¶
-
std::string
Blam::Console::RegisterCommand(Blam::Console::ConsoleCommand *command)¶ Register a new command object.
This must be called for the command to be usable in scripts or from console.
- Return
The
nameproperty of the provided command.- Parameters
command: - The command to be registered.