29 bool openFile(
int id, HANDLE* result)
override;
30 bool openFile(std::string file, HANDLE* result)
override;
34 std::string
locale()
override;
Manages a CASC (Content Addressable Storage Container) archive.
Abstract base class representing a file within the game data archive.
Describes a detected game installation (locale, version, product).
Abstract base for game data folder backends (CASC, loose files, etc.).
const std::string & path() const
GameFolder implementation backed by a CASC archive.
GameFile * getFile(int id) override
std::map< int, std::string > m_idNameMap
std::string fileName(int id)
int majorVersion() override
void initFromListfile(const std::string &file) override
std::map< int, GameFile * > m_idMap
int fileID(const std::string &fileName)
void onChildAdded(GameFile *) override
void onChildRemoved(GameFile *) override
std::vector< core::GameConfig > configsFound() override
std::map< std::string, int > m_nameIdMap
bool openFile(int id, HANDLE *result) override
void addCustomFiles(const std::string &path, bool bypassOriginalFiles) override
bool setConfig(core::GameConfig config) override
std::string version() override
std::string locale() override