Blamite Game Engine - blam!  00285.12.18.20.1411.blamite
The core library for the Blamite Game Engine.
Blam::Console::Handlers Namespace Reference

Functions used to handle multiple commands that have similar behavior. More...

Functions

BLAM CommandStatus BooleanHandler (bool *value, std::vector< std::string > arguments, ConsoleCommand *command)
 Handler for boolean commands. More...
 

Detailed Description

Functions used to handle multiple commands that have similar behavior.

Function Documentation

◆ BooleanHandler()

CommandStatus Blam::Console::Handlers::BooleanHandler ( bool *  value,
std::vector< std::string >  arguments,
ConsoleCommand command 
)

Handler for boolean commands.

Deprecated:
This should not be used for any future commands, as this was only used for modifying boolean globals. This functionality is now handled via the Blam::Console::Script command type.
Parameters
value- Pointer to the boolean value to be modified.
arguments- List of arguments passed to the command from console.
command- The command that called this handler.
Returns
The status of the execution. See Blam::Console::CommandStatus for details.