ezEngine  Milestone 7
ezAssetFileHeader Class Reference

Simple class to handle asset file headers (the very first bytes in all transformed asset files) More...

#include <AssetFileHeader.h>

Public Member Functions

void Read (ezStreamReaderBase &stream)
 Reads the hash from file. If the file is outdated, the hash is set to 0xFFFFFFFFFFFFFFFF.
 
void Write (ezStreamWriterBase &stream)
 Writes the asset hash to file (plus a little version info)
 
bool IsFileUpToDate (ezUInt64 uiExpectedHash) const
 Checks whether the stored file contains the same hash.
 
ezUInt64 GetFileHash () const
 Returns the asset file hash.
 
void SetFileHash (ezUInt64 hash)
 Sets the asset file hash.
 

Private Attributes

ezUInt64 m_uiHash
 

Detailed Description

Simple class to handle asset file headers (the very first bytes in all transformed asset files)


The documentation for this class was generated from the following files: