#include <subgames.h>
|
| | SubgameSpec (const std::string &id="", const std::string &path="", const std::string &gamemods_path="", const std::unordered_map< std::string, std::string > &addon_mods_paths={}, const std::string &title="", const std::string &author="", int release=0, const std::string &first_mod="", const std::string &last_mod="", const std::unordered_set< std::string > &aliases={}) |
| bool | isValid () const |
| void | checkAndLog () const |
◆ SubgameSpec()
| SubgameSpec::SubgameSpec |
( |
const std::string & | id = "", |
|
|
const std::string & | path = "", |
|
|
const std::string & | gamemods_path = "", |
|
|
const std::unordered_map< std::string, std::string > & | addon_mods_paths = {}, |
|
|
const std::string & | title = "", |
|
|
const std::string & | author = "", |
|
|
int | release = 0, |
|
|
const std::string & | first_mod = "", |
|
|
const std::string & | last_mod = "", |
|
|
const std::unordered_set< std::string > & | aliases = {} ) |
|
inline |
◆ checkAndLog()
| void SubgameSpec::checkAndLog |
( |
| ) |
const |
◆ isValid()
| bool SubgameSpec::isValid |
( |
| ) |
const |
|
inline |
◆ addon_mods_paths
| std::unordered_map<std::string, std::string> SubgameSpec::addon_mods_paths |
◆ aliases
| std::unordered_set<std::string> SubgameSpec::aliases |
All worlds are marked with a specific gameid.
To allow inheriting worlds by a game with different gameid after deprecation or renaming, this set contains the gameid values that used to refer to the game and may be used to automatically find the best matching gameid.
◆ author
| std::string SubgameSpec::author |
◆ deprecation_msgs
| std::vector<const char *> SubgameSpec::deprecation_msgs |
◆ first_mod
| std::string SubgameSpec::first_mod |
◆ gamemods_path
| std::string SubgameSpec::gamemods_path |
◆ id
| std::string SubgameSpec::id |
◆ last_mod
| std::string SubgameSpec::last_mod |
◆ path
| std::string SubgameSpec::path |
◆ release
◆ title
| std::string SubgameSpec::title |
The documentation for this struct was generated from the following files: