![]() |
Blamite Game Engine - blam!
00263.10.17.20.0001.blamite
The core library for the Blamite Game Engine.
|
Class for the print
command.
More...
#include <print.hpp>
Public Member Functions | |
PrintCommand () | |
~PrintCommand () | |
CommandStatus | onCommand (std::vector< std::string > arguments) |
Called upon command execution. More... | |
![]() | |
ConsoleCommand () | |
Unused constructor. More... | |
~ConsoleCommand () | |
Unused destructor. More... | |
Additional Inherited Members | |
![]() | |
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 for the print
command.
This is an enhanced version of the original print command, which used to include color overrides. These overrides have not yet been implemented.
Implementation should match the original functionality documented on the repository's wiki page for colors. Additionally, we should try to at some point get something similar to how Minecraft handles colors - that is, having color be able to changed mid-message with a special character followed by a color code.
|
inline |
|
inline |
|
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 from Blam::Console::ConsoleCommand.