#include <mods.h>
◆ ModSpec() [1/2]
◆ ModSpec() [2/2]
| ModSpec::ModSpec |
( |
const std::string & | name, |
|
|
const std::string & | path, |
|
|
int | modpack_depth, |
|
|
const std::string & | virtual_path ) |
|
inline |
◆ checkAndLog()
| void ModSpec::checkAndLog |
( |
| ) |
const |
◆ author
| std::string ModSpec::author |
◆ depends
| std::unordered_set<std::string> ModSpec::depends |
◆ deprecation_msgs
| std::vector<const char *> ModSpec::deprecation_msgs |
◆ desc
| std::string ModSpec::desc |
◆ is_modpack
| bool ModSpec::is_modpack = false |
◆ is_name_explicit
| bool ModSpec::is_name_explicit = false |
◆ modpack_content
| std::map<std::string, ModSpec> ModSpec::modpack_content |
◆ modpack_depth
| int ModSpec::modpack_depth = 0 |
◆ name
| std::string ModSpec::name |
◆ optdepends
| std::unordered_set<std::string> ModSpec::optdepends |
◆ path
| std::string ModSpec::path |
◆ release
◆ unsatisfied_depends
| std::unordered_set<std::string> ModSpec::unsatisfied_depends |
◆ virtual_path
| std::string ModSpec::virtual_path |
A constructed canonical path to represent this mod's location.
This intended to be used as an identifier for a modpath that tolerates file movement, and cannot be used to read the mod files.
Note that mymod is the directory name, not the mod name specified in mod.conf.
Ex:
- mods/mymod
- mods/mymod (1) (^ this would have name=mymod in mod.conf)
- mods/modpack1/mymod
- games/mygame/mods/mymod
- worldmods/mymod
Referenced by ModApiMainMenu::l_check_mod_configuration(), parseModContents(), and push_mod_spec().
The documentation for this struct was generated from the following files: