 |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file. 1 #include "../console.h"
42 std::map<std::string, BlamConsoleCommand*>::iterator it;
44 for (it = map.begin(); it != map.end(); it++)
49 std::set<std::string>::iterator list_it;
53 std::string cmd_name = *list_it;
std::map< std::string, BlamConsoleCommand * > command_list
The list of all loaded console commands.
Definition: console.cpp:41
HelpCommand()
Definition: help.hpp:19
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:57
~HelpCommand()
Definition: help.hpp:27
Class used to represent a console command.
Definition: console.h:54
BLAM void LogEventForce(std::string message, BlamLogLevel severity)
Forcibly logs a message to the log and/or console.
Definition: aliases.cpp:218
BlamCommandResult onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: help.hpp:32
std::string name
The name of the console command.
Definition: console.h:56
#define WSV_NONE
Macro for 'None' log seveirty. Original pre-enum value was 0.
Definition: logger.h:16
BLAM std::map< std::string, BlamConsoleCommand * > GetCommandList()
Retrieves the list of all loaded console commands.
Definition: console.cpp:170
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:61
@ Builtin
A command that is hard-coded into the engine.
#define CMD_OK
Macro for OK command status. See #Blam::Resources::Console::Ok for more details.
Definition: console.h:8
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
Namespace containing things related to the Blamite Logger.
Definition: logger.h:220
Namespace for things relating to the debug console.
Definition: abort.hpp:5
Class for the help command.
Definition: help.hpp:16