Blamite Game Engine - blam!  00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
generate_plugins.hpp
Go to the documentation of this file.
1 #include "../console.h"
2 
5 
7 {
15  {
16  public:
18  {
19  name = "generate_plugins";
20  description = "Generates plugin files for all available tag classes, for use in Guerilla and other tools.";
21  aliases = { "make_plugins", "gen_plugins", "create_plugins" };
22 
24  }
25 
27  {
28  delete this;
29  }
30 
31  BlamCommandResult onCommand(std::vector<std::string> arguments)
32  {
33  using namespace Blam::Logger;
35 
36  return BlamCommandResult::Ok;
37  }
38  };
39 }
BlamConsoleCommand::description
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:57
logger.h
BlamCommandResult::Ok
@ Ok
The command was run without error.
BlamConsoleCommand
Class used to represent a console command.
Definition: console.h:54
Blam::Resources::Console::GeneratePluginsCommand::GeneratePluginsCommand
GeneratePluginsCommand()
Definition: generate_plugins.hpp:17
Blam::Resources::Console::GeneratePluginsCommand::onCommand
BlamCommandResult onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: generate_plugins.hpp:31
Blam::Resources::Console::GeneratePluginsCommand
Class for the generate_plugins command.
Definition: generate_plugins.hpp:14
BlamConsoleCommand::name
std::string name
The name of the console command.
Definition: console.h:56
Blam::Content::Tags::GenerateAllPlugins
BLAM void GenerateAllPlugins(bool require_switch)
Instructs the engine to generate Assembly/Guerilla plugins at startup.
Definition: tagclass.cpp:77
BlamConsoleCommand::type
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:61
BlamCommandType::Builtin
@ Builtin
A command that is hard-coded into the engine.
BlamCommandResult
BlamCommandResult
Indicates the return state of a console command.
Definition: console.h:22
tagclass.h
BlamConsoleCommand::aliases
std::vector< std::string > aliases
A list of aliases for the command. Executing any of these instead of the command name will behave the...
Definition: console.h:59
Blam::Logger
Namespace containing things related to the Blamite Logger.
Definition: logger.h:220
Blam::Resources::Console::GeneratePluginsCommand::~GeneratePluginsCommand
~GeneratePluginsCommand()
Definition: generate_plugins.hpp:26
Blam::Resources::Console
Namespace for things relating to the debug console.
Definition: abort.hpp:5