Luanti 5.16.0-dev
 
Loading...
Searching...
No Matches
ModVFS Struct Reference

#include <mod_vfs.h>

+ Collaboration diagram for ModVFS:

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
 

Member Function Documentation

◆ getModFile()

const std::string * ModVFS::getModFile ( std::string filename)

References m_vfs.

◆ scanModIntoMemory()

void ModVFS::scanModIntoMemory ( const std::string & mod_name,
const std::string & mod_path )
inline

References scanModSubfolder().

Referenced by Client::Client().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ scanModSubfolder()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_vfs

std::unordered_map<std::string, std::string> ModVFS::m_vfs

The documentation for this struct was generated from the following files: