Atlas-Launcher/source/script/module/filesystem/FileSystem.hpp

19 lines
415 B
C++

#pragma once
#include "Path.hpp"
namespace atlas::script::module::filesystem {
/**
* Represent a File System in the Atlas engine
*/
class FileSystem : public utils::angelscript::MixinAsReferenceCount {
public:
explicit FileSystem(const vfs::VirtualFileSystem* fileSystem);
[[nodiscard]] Path* getPath(const std::string& virtualPath) const;
private:
const vfs::VirtualFileSystem* fileSystem;
};
}