#include "irrlichttypes.h"
#include <list>
#include <set>
#include <vector>
#include <string>
#include <map>
#include <json/json.h>
#include <unordered_set>
#include "util/basic_macros.h"
#include "config.h"
#include "metadata.h"
Go to the source code of this file.
Classes | |
struct | ModSpec |
class | ModConfiguration |
class | ClientModConfiguration |
class | ModMetadata |
Macros | |
#define | MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_" |
Functions | |
void | parseModContents (ModSpec &mod) |
std::map< std::string, ModSpec > | getModsInPath (const std::string &path, bool part_of_modpack=false) |
std::vector< ModSpec > | flattenMods (const std::map< std::string, ModSpec > &mods) |
#define MODNAME_ALLOWED_CHARS "abcdefghijklmnopqrstuvwxyz0123456789_" |
References ModSpec::is_modpack, and ModSpec::modpack_content.
Referenced by ModConfiguration::addModsFromConfig(), and ModConfiguration::addModsInPath().
std::map<std::string, ModSpec> getModsInPath | ( | const std::string & | path, |
bool | part_of_modpack = false |
||
) |
References DIR_DELIM, fs::GetDirListing(), and parseModContents().
Referenced by ModConfiguration::addModsFromConfig(), ModConfiguration::addModsInPath(), and parseModContents().
void parseModContents | ( | ModSpec & | mod | ) |
References ModSpec::author, ModSpec::depends, ModSpec::desc, DIR_DELIM, Settings::exists(), Settings::get(), getModsInPath(), Settings::getS32(), ModSpec::is_modpack, ModSpec::modpack_content, ModSpec::name, ModSpec::optdepends, parseDependsString(), ModSpec::path, Settings::readConfigFile(), ModSpec::release, and str_split().
Referenced by getModsInPath(), and ModApiMainMenu::l_get_content_info().