mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 20:25:47 +00:00
Core: Add a method to obtain a Directory from an Archive.
This commit is contained in:
parent
33b0d1081e
commit
c14e5713f5
5 changed files with 44 additions and 0 deletions
|
@ -36,6 +36,13 @@ public:
|
|||
*/
|
||||
std::unique_ptr<File> OpenFile(const std::string& path, const Mode mode) const override;
|
||||
|
||||
/**
|
||||
* Open a directory specified by its path
|
||||
* @param path Path relative to the archive
|
||||
* @return Opened directory, or nullptr
|
||||
*/
|
||||
std::unique_ptr<Directory> OpenDirectory(const std::string& path) const override;
|
||||
|
||||
/**
|
||||
* Read data from the archive
|
||||
* @param offset Offset in bytes to start reading data from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue