Function Blam::Console::RegisterCommand

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 name property of the provided command.

Parameters
  • command: - The command to be registered.