Elaztek Developer Hub
Switch Project...
blam!
Editing Kit
Guerilla
Sapien
Tool
Foundry
Libraries
Keystone
Strings
Forums
Discord
Doxygen
Jenkins
Guides
Gitlab
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
3
#include "
components/diagnostics/logger/logger.h
"
4
#include "core.h"
5
6
namespace
Blam::Resources::Console
7
{
13
class
HistoryCommand
:
public
BlamConsoleCommand
14
{
15
public
:
16
HistoryCommand
()
17
{
18
name
=
"history"
;
19
description
=
"Shows recently executed commands."
;
20
21
type
=
BlamCommandType::Builtin
;
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.
blam
components
resources
console
commands
history.hpp
Generated on Mon Jun 8 2026 09:40:33 for Blamite Game Engine - blam! by
1.8.17