22 CASCFile(std::string path,
int id = -1);
26 size_t read(
void* dest,
size_t bytes);
27 void seek(
size_t offset);
GameFile implementation that reads from a CASC storage archive.
virtual void doPostOpenOperation()
virtual unsigned long readFile()
virtual bool isAlreadyOpened()
virtual bool doPostCloseOperation()
size_t read(void *dest, size_t bytes)
Read bytes from the file into dest.
virtual bool getFileSize(unsigned long long &s)
void seek(size_t offset)
Seek to an absolute byte offset.
Manages a CASC (Content Addressable Storage Container) archive.
Abstract base class representing a file within the game data archive.