#include <mod_vfs.h>
Public Member Functions | |
| void | scanModSubfolder (const std::string &mod_name, const std::string &mod_path, std::string mod_subpath) |
| void | scanModIntoMemory (const std::string &mod_name, const std::string &mod_path) |
| const std::string * | getModFile (std::string filename) |
Public Attributes | |
| std::unordered_map< std::string, std::string > | m_vfs |
| const std::string * ModVFS::getModFile | ( | std::string | filename | ) |
References m_vfs.
|
inline |
References scanModSubfolder().
Referenced by Client::Client().
| void ModVFS::scanModSubfolder | ( | const std::string & | mod_name, |
| const std::string & | mod_path, | ||
| std::string | mod_subpath ) |
References DIR_DELIM, DIR_DELIM_CHAR, errorstream, fs::GetDirListing(), infostream, m_vfs, fs::ReadFile(), and scanModSubfolder().
Referenced by scanModIntoMemory(), and scanModSubfolder().
| std::unordered_map<std::string, std::string> ModVFS::m_vfs |
Referenced by Client::Client(), getModFile(), and scanModSubfolder().