22 #ifndef ULTIMA8_FILESYS_RAWARCHIVE_H 23 #define ULTIMA8_FILESYS_RAWARCHIVE_H 25 #include "ultima/ultima8/filesys/archive.h" 40 void cache(uint32 index)
override;
41 void uncache(uint32 index)
override;
42 bool isCached(uint32 index)
const override;
51 virtual uint32
get_size(uint32 index)
const;
void cache()
Cache all objects.
Definition: raw_archive.h:33
Archive()
create Archive without any input sources
virtual Common::SeekableReadStream * get_datasource(uint32 index)
Definition: detection.h:27
virtual uint32 get_size(uint32 index) const
get size of object
virtual const uint8 * get_object_nodel(uint32 index)
return object. DON'T delete or modify!
bool isCached(uint32 index) const override
Check if an object is cached.
virtual uint8 * get_object(uint32 index)
return object. delete afterwards. This will not cache the object
Definition: containers.h:38