Elaztek Developer Hub
Blamite Game Engine - blam!  00406.12.10.23.1457.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 
26  BlamResult Execute(std::vector<std::string> arguments)
27  {
28  using namespace Blam::Logger;
30 
31  return BlamResult::Success_OK;
32  }
33  };
34 }
BlamCommandType::Builtin
@ Builtin
A command that is hard-coded into the engine.
BlamConsoleCommand::description
std::string description
An optional description of the command. Shown when using the classify command.
Definition: console.h:34
logger.h
BlamConsoleCommand
Class used to represent a console command.
Definition: console.h:31
Blam::Resources::Console::GeneratePluginsCommand::GeneratePluginsCommand
GeneratePluginsCommand()
Definition: generate_plugins.hpp:17
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:33
Blam::Content::Tags::GenerateAllPlugins
BLAM void GenerateAllPlugins(bool require_switch)
Instructs the engine to generate Assembly/Guerilla plugins at startup.
Definition: tagclass.cpp:88
Blam::Resources::Console::GeneratePluginsCommand::Execute
BlamResult Execute(std::vector< std::string > arguments)
Called upon command execution.
Definition: generate_plugins.hpp:26
BlamConsoleCommand::type
BlamCommandType type
The type of command this is. See #Blam::Resources::Console::BlamCommandType for more information.
Definition: console.h:38
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:36
Blam::Logger
Namespace containing things related to the Blamite Logger.
Definition: logger.h:200
Blam::Resources::Console
Namespace for things relating to the debug console.
Definition: abort.hpp:5