OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GameConfig::CheatCommands Class Reference

#include <GameConfig.h>

Inheritance diagram for GameConfig::CheatCommands:
ConfigSection

Public Member Functions

 CheatCommands (GameConfig *config)
 
- Public Member Functions inherited from ConfigSection
 ConfigSection (Config *config, std::string_view name)
 
 ConfigSection (const ConfigSection &other)=delete
 
 ConfigSection (ConfigSection &&other)=delete
 
Configconfig () const
 
const std::string & name () const
 
void registerEntry (AnyConfigEntry *entry)
 
AnyConfigEntryentry (std::string_view name) const
 
std::vector< AnyConfigEntry * > entries () const
 

Private Member Functions

void _addCommand (int commandIndex, const std::string &defaultValue)
 

Private Attributes

std::vector< std::unique_ptr< String > > _commandList
 

Constructor & Destructor Documentation

◆ CheatCommands()

GameConfig::CheatCommands::CheatCommands ( GameConfig config)
explicit

Member Function Documentation

◆ _addCommand()

void GameConfig::CheatCommands::_addCommand ( int  commandIndex,
const std::string &  defaultValue 
)
private

Member Data Documentation

◆ _commandList

std::vector<std::unique_ptr<String> > GameConfig::CheatCommands::_commandList
private

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