Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::IO::CCachedFileData Struct Reference

Inherits AZStd::intrusive_base.

Public Member Functions

 AZ_CLASS_ALLOCATOR (CCachedFileData, AZ::SystemAllocator)
 
 CCachedFileData (ZipDir::CachePtr pZip, uint32_t nArchiveFlags, ZipDir::FileEntry *pFileEntry, AZStd::string_view szFilename)
 
 CCachedFileData (const CCachedFileData &)=delete
 
CCachedFileDataoperator= (const CCachedFileData &)=delete
 
void * GetData (bool bRefreshCache=true, bool decompress=true)
 
bool GetDataTo (void *pFileData, int nDataSize, bool bDecompress=true)
 
int64_t ReadData (void *pBuffer, int64_t nFileOffset, int64_t nReadSize)
 
ZipDir::CacheGetZip ()
 
ZipDir::FileEntryGetFileEntry ()
 
uint32_t GetFileDataOffset ()
 

Public Attributes

void * m_pFileData
 
ZipDir::CachePtr m_pZip
 
uint32_t m_nArchiveFlags
 
ZipDir::FileEntrym_pFileEntry
 

The documentation for this struct was generated from the following file: