![]() |
OpenXcom
1.0
Open-source clone of the original X-Com
|
Represents game-specific contents needed for save convertion and ID matching. More...
#include <RuleConverter.h>
Public Member Functions | |
| RuleConverter () | |
| Creates a blank converter ruleset. More... | |
| ~RuleConverter () | |
| Cleans up the converter ruleset. | |
| void | load (const YAML::Node &node) |
| Loads the converter from YAML. More... | |
| int | getOffset (const std::string &id) |
| Gets the offset for a specific attribute. | |
| const std::vector< std::string > & | getMarkers () const |
| Gets the marker ID list. | |
| const std::vector< std::string > & | getCountries () const |
| Gets the country ID list. | |
| const std::vector< std::string > & | getRegions () const |
| Gets the region ID list. | |
| const std::vector< std::string > & | getFacilities () const |
| Gets the facility ID list. | |
| const std::vector< std::string > & | getItems () const |
| Gets the item ID list. | |
| const std::vector< std::string > & | getCrews () const |
| Gets the UFO crew ID list. | |
| const std::vector< std::string > & | getCrafts () const |
| Gets the craft ID list. | |
| const std::vector< std::string > & | getUfos () const |
| Gets the UFO ID list. | |
| const std::vector< std::string > & | getCraftWeapons () const |
| Gets the craft weapon ID list. | |
| const std::vector< std::string > & | getMissions () const |
| Gets the alien mission ID list. | |
| const std::vector< std::string > & | getArmor () const |
| Gets the armor ID list. | |
| const std::vector< std::string > & | getAlienRaces () const |
| Gets the alien race ID list. | |
| const std::vector< std::string > & | getAlienRanks () const |
| Gets the alien rank ID list. | |
| const std::vector< std::string > & | getResearch () const |
| Gets the research ID list. | |
| const std::vector< std::string > & | getManufacture () const |
| Gets the manufacture ID list. | |
| const std::vector< std::string > & | getUfopaedia () const |
| Gets the ufopaedia ID list. | |
Represents game-specific contents needed for save convertion and ID matching.
| OpenXcom::RuleConverter::RuleConverter | ( | ) |
Creates a blank converter ruleset.
Creates a blank ruleset for converter data.
| void OpenXcom::RuleConverter::load | ( | const YAML::Node & | node | ) |
Loads the converter from YAML.
Loads the converter data from a YAML file.
| node | YAML node. |
1.8.14