![]() |
Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
|
Class used to represent a console command. More...
#include <console.h>
Public Member Functions | |
virtual BlamCommandResult | 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... | |
BlamCommandType | type |
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information. More... | |
Class used to represent a console command.
|
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::Resources::Console::VersionCommand, Blam::Resources::Console::ClassifyCommand, Blam::Resources::Console::Halo2HelpCommand, Blam::Resources::Console::Halo2PrintCommand, Blam::Resources::Console::PrintCommand, Blam::Resources::Console::CreateCommandObjectCommand, Blam::Resources::Console::DXRenderTargetClearCommand, Blam::Resources::Console::ClearScreenCommand, Blam::Resources::Console::HelpCommand, Blam::Resources::Console::RegenDebugMenuCommand, Blam::Resources::Console::ResolutionCommand, Blam::Resources::Console::ScriptDocCommand, Blam::Resources::Console::ShowStatsCommand, Blam::Resources::Console::CrashCommand, Blam::Resources::Console::GeneratePluginsCommand, Blam::Resources::Console::DXRenderTargetClearCommand, Blam::Resources::Console::HistoryCommand, Blam::Resources::Console::ListColorsCommand, Blam::Resources::Console::ListLevelsCommand, Blam::Resources::Console::NoUCommand, Blam::Resources::Console::QuitCommand, Blam::Resources::Console::Win32DialogTestCommand, Blam::Resources::Console::AbortCommand, Blam::Resources::Console::SentryTestCommand, Blam::Resources::Console::OpenWebURLCommand, Blam::Resources::Console::OpenGameDirectoryCommand, Blam::Resources::Console::ScreenshotCommand, and Blam::Resources::Console::ToggleImguiWindowCommand.
std::vector<std::string> BlamConsoleCommand::aliases |
A list of aliases for the command. Executing any of these instead of the command name will behave the same.
std::string BlamConsoleCommand::description |
An optional description of the command. Shown when using the classify
command.
std::string BlamConsoleCommand::name |
The name of the console command.
std::string BlamConsoleCommand::syntax |
The syntax information for the command. Shown to the user when using the help
command with an argument.
BlamCommandType BlamConsoleCommand::type |
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.