Blamite Game Engine - blam!  00272.10.26.20.0001.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 
6 namespace Blam::Console
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  CommandStatus onCommand(std::vector<std::string> arguments)
32  {
33  using namespace Blam::Logger;
35 
36  return CommandStatus::Ok;
37  }
38  };
39 }
Blam::Console::ConsoleCommand::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:75
Blam::Console::ConsoleCommand::description
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:73
Blam::Console::ConsoleCommand::type
CommandType type
The type of command this is. See Blam::Console::CommandType for more information.
Definition: console.h:77
Blam::Console::CommandStatus
CommandStatus
Indicates the return state of a console command.
Definition: console.h:28
Blam::Console::GeneratePluginsCommand
Class for the generate_plugins command.
Definition: generate_plugins.hpp:14
logger.h
Blam::Console::Builtin
@ Builtin
A command that is hard-coded into the engine.
Definition: console.h:41
Blam::Console::ConsoleCommand::name
std::string name
The name of the console command.
Definition: console.h:70
Blam::Console::GeneratePluginsCommand::GeneratePluginsCommand
GeneratePluginsCommand()
Definition: generate_plugins.hpp:17
Blam::Console::GeneratePluginsCommand::~GeneratePluginsCommand
~GeneratePluginsCommand()
Definition: generate_plugins.hpp:26
Blam::Content::Tags::GenerateAllPlugins
BLAM void GenerateAllPlugins(bool require_switch)
Instructs the engine to generate Assembly/Guerilla plugins at startup.
Definition: tagclass.cpp:77
Blam::Console
Namespace for things relating to the debug console.
Definition: abort.hpp:5
Blam::Console::ConsoleCommand
Class used to represent a console command.
Definition: console.h:50
Blam::Console::GeneratePluginsCommand::onCommand
CommandStatus onCommand(std::vector< std::string > arguments)
Called upon command execution.
Definition: generate_plugins.hpp:31
tagclass.h
Blam::Logger
Namespace containing things related to the Blamite Logger.
Definition: logger.h:82
Blam::Globals::Ok
@ Ok
The global was updated successfully.
Definition: globals.h:202