Aether3D Game Engine
FileSystem.hpp
1 #ifndef FILE_SYSTEM_H
2 #define FILE_SYSTEM_H
3 
4 #include <string>
5 #include <vector>
6 
7 namespace ae3d
8 {
9  namespace FileSystem
10  {
13  {
15  std::vector<unsigned char> data;
17  std::string path;
19  bool isLoaded = false;
20  };
21 
27  FileContentsData FileContents(const char* path);
28 
30  void LoadPakFile(const char* path);
31 
33  void UnloadPakFile(const char* path);
34  }
35 }
36 #endif
bool isLoaded
True if data has been loaded from path.
Definition: FileSystem.hpp:19
Definition: AudioClip.hpp:4
std::string path
File path.
Definition: FileSystem.hpp:17
Definition: FileSystem.hpp:12
std::vector< unsigned char > data
File content bytes.
Definition: FileSystem.hpp:15