mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
ResPaths.findRaw
This commit is contained in:
parent
bedcc438f4
commit
0e69db13be
4 changed files with 29 additions and 26 deletions
|
|
@ -42,12 +42,15 @@ public:
|
|||
|
||||
class ResPaths {
|
||||
fs::path mainRoot;
|
||||
std::vector<fs::path> roots;
|
||||
std::vector<std::pair<std::string, fs::path>> roots;
|
||||
public:
|
||||
ResPaths(fs::path mainRoot,
|
||||
std::vector<fs::path> roots);
|
||||
ResPaths(
|
||||
fs::path mainRoot,
|
||||
std::vector<std::pair<std::string, fs::path>> roots
|
||||
);
|
||||
|
||||
fs::path find(const std::string& filename) const;
|
||||
std::string findRaw(const std::string& filename) const;
|
||||
std::vector<fs::path> listdir(const std::string& folder) const;
|
||||
|
||||
const fs::path& getMainRoot() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue