Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
FileSystem.h
Go to the documentation of this file.
1#pragma once
2#include <filesystem>
3#include <vector>
4
5namespace eng
6{
8 {
9 public:
10 std::filesystem::path GetExecutableFolder() const;
11 std::filesystem::path GetAssetsFolder() const;
12
13 std::vector<char> LoadFile(const std::filesystem::path& path);
14 std::vector<char> LoadAssetFile(const std::string& relativePath);
15 std::string LoadAssetFileText(const std::string& relativePath);
16 };
17}
std::filesystem::path GetAssetsFolder() const
std::filesystem::path GetExecutableFolder() const
std::string LoadAssetFileText(const std::string &relativePath)
std::vector< char > LoadAssetFile(const std::string &relativePath)
std::vector< char > LoadFile(const std::filesystem::path &path)