Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
history.hpp
Go to the documentation of this file.
1 #include "../console.h"
2 
4 #include "core.h"
5 
7 {
14  {
15  public:
17  {
18  name = "history";
19  description = "Shows recently executed commands.";
20 
22  }
23 
24  BlamResult Execute(std::vector<std::string> arguments)
25  {
26  Blam::Logger::LogEvent("not yet implemented");
27  return BlamResult::Success_OK;
28  }
29  };
30 }
Blam::Resources::Console::HistoryCommand
Class for the history command.
Definition: history.hpp:13
Blam::Logger::LogEvent
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:130
BlamConsoleCommand::description
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:36
logger.h
BlamConsoleCommand
Class used to represent a console command.
Definition: console.h:33
Blam::Resources::Console::HistoryCommand::Execute
BlamResult Execute(std::vector< std::string > arguments)
Called upon command execution.
Definition: history.hpp:24
Blam::Resources::Console::HistoryCommand::HistoryCommand
HistoryCommand()
Definition: history.hpp:16
BlamConsoleCommand::name
std::string name
The name of the console command.
Definition: console.h:35
BlamConsoleCommand::type
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:40
Blam::Resources::Console
Namespace for things relating to the debug console.
Definition: abort.hpp:5
BlamCommandType::Builtin
@ Builtin
A command that is hard-coded into the engine.