10#ifndef GAME_CONFIG_HPP
11#define GAME_CONFIG_HPP
16class GameConfig :
public ScriptConfig {
ScriptInfo * FindInfo(const std::string &name, int version, bool force_exact_match) override
Finds the appropriate ScriptInfo for a given script name and version.
bool ResetInfo(bool force_exact_match)
When ever the Game Scanner is reloaded, all infos become invalid.
static GameConfig * GetConfig(ScriptSettingSource source=SSS_DEFAULT)
Get the script configuration.
class GameInfo * GetInfo() const
Get the ScriptInfo linked to this ScriptConfig.
GameConfig(const GameConfig &config)
Copy constructor.
All static information from an Game like name, version, etc.
ScriptSettingSource
Where to get the config from, either default (depends on current game mode) or force either newgame o...
@ SSS_DEFAULT
Get the Script config from the current game mode.
int version
Version of the Script.
std::string name
Name of the Script.
All static information from an Script like name, version, etc.
ScriptConfig stores the configuration settings of every Script.