Blamite Game Engine - blam!  00272.10.26.20.0001.blamite
The core library for the Blamite Game Engine.
Blam::Console::Halo2PrintCommand Class Reference

Class for the h2print command. More...

#include <h2print.hpp>

+ Inheritance diagram for Blam::Console::Halo2PrintCommand:

Public Member Functions

 Halo2PrintCommand ()
 
 ~Halo2PrintCommand ()
 
CommandStatus onCommand (std::vector< std::string > arguments)
 Called upon command execution. More...
 
- Public Member Functions inherited from Blam::Console::ConsoleCommand
 ConsoleCommand ()
 Unused constructor. More...
 
 ~ConsoleCommand ()
 Unused destructor. More...
 

Additional Inherited Members

- Public Attributes inherited from Blam::Console::ConsoleCommand
std::string name
 The name of the console command. More...
 
std::string description
 An optional description of the command. Shown when using the classify command. More...
 
std::string syntax
 The syntax information for the command. Shown to the user when using the help command with an argument. More...
 
std::vector< std::string > aliases
 A list of aliases for the command. Executing any of these instead of the command name will behave the same. More...
 
CommandType type
 The type of command this is. See Blam::Console::CommandType for more information. More...
 

Detailed Description

Class for the h2print command.

This command is an exact replica of the print command as it exists in Halo 2's Sapien editor. All messages are lowercase, and spaces are not supported. It also lacks any color overrides. You can have messages in any color - as long as it's green.

Constructor & Destructor Documentation

◆ Halo2PrintCommand()

Blam::Console::Halo2PrintCommand::Halo2PrintCommand ( )
inline

◆ ~Halo2PrintCommand()

Blam::Console::Halo2PrintCommand::~Halo2PrintCommand ( )
inline

Member Function Documentation

◆ onCommand()

CommandStatus Blam::Console::Halo2PrintCommand::onCommand ( std::vector< std::string >  arguments)
inlinevirtual

Called upon command execution.

Parameters
arguments- The list of arguments passed to the command. Any space character in the command line is treated as a new argument.
Returns
The status of the command execution. See Blam::Console::CommandStatus for details.

Reimplemented from Blam::Console::ConsoleCommand.


The documentation for this class was generated from the following file: