![]() |
Blamite Game Engine - blam!
00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
|
Class used to represent a console command. More...
#include <console.h>
Public Member Functions | |
ConsoleCommand () | |
Unused constructor. More... | |
~ConsoleCommand () | |
Unused destructor. More... | |
virtual CommandStatus | onCommand (std::vector< std::string > arguments) |
Called upon command execution. More... | |
Public Attributes | |
std::string | name |
The name of the console command. More... | |
std::string | description |
An optional description of the command. Shown when using the classify command. More... | |
std::string | syntax |
The syntax information for the command. Shown to the user when using the help command with an argument. More... | |
std::vector< std::string > | aliases |
A list of aliases for the command. Executing any of these instead of the command name will behave the same. More... | |
CommandType | type |
The type of command this is. See Blam::Console::CommandType for more information. More... | |
Class used to represent a console command.
|
inline |
Unused constructor.
|
inline |
Unused destructor.
|
inlinevirtual |
Called upon command execution.
arguments | - The list of arguments passed to the command. Any space character in the command line is treated as a new argument. |
Reimplemented in Blam::Console::VersionCommand, Blam::Console::ClassifyCommand, Blam::Console::Halo2HelpCommand, Blam::Console::PrintCommand, Blam::Console::CreateCommandObjectCommand, Blam::Console::ClearScreenCommand, Blam::Console::HelpCommand, Blam::Console::RegenDebugMenuCommand, Blam::Console::ResolutionCommand, Blam::Console::ShowStatsCommand, Blam::Console::CrashCommand, Blam::Console::GeneratePluginsCommand, Blam::Console::Halo2PrintCommand, Blam::Console::DXRenderTargetClearCommand, Blam::Console::HistoryCommand, Blam::Console::ListColorsCommand, Blam::Console::ListLevelsCommand, Blam::Console::NoUCommand, Blam::Console::QuitCommand, Blam::Console::ScriptDocCommand, Blam::Console::Win32DialogTestCommand, Blam::Console::AbortCommand, and Blam::Console::SentryTestCommand.
std::vector<std::string> Blam::Console::ConsoleCommand::aliases |
A list of aliases for the command. Executing any of these instead of the command name will behave the same.
std::string Blam::Console::ConsoleCommand::description |
An optional description of the command. Shown when using the classify
command.
std::string Blam::Console::ConsoleCommand::name |
The name of the console command.
std::string Blam::Console::ConsoleCommand::syntax |
The syntax information for the command. Shown to the user when using the help
command with an argument.
CommandType Blam::Console::ConsoleCommand::type |
The type of command this is. See Blam::Console::CommandType for more information.