![]() |
XII Release 0.1.0
|
The thumbnail info containing the hash of the file is appended to assets. The serialized size of this class can't change since it is found by seeking to the end of the file. More...
#include <AssetDocument.h>
Public Member Functions | |
xiiResult | Deserialize (xiiStreamReader &inout_reader) |
xiiResult | Serialize (xiiStreamWriter &inout_writer) const |
bool | IsThumbnailUpToDate (xiiUInt64 uiExpectedHash, xiiUInt16 uiVersion) const |
Checks whether the stored file contains the same hash. | |
void | SetFileHashAndVersion (xiiUInt64 uiHash, xiiUInt16 v) |
Sets the asset file hash. | |
constexpr xiiUInt32 | GetSerializedSize () const |
Returns the serialized size of the thumbnail info. Used to seek to the end of the file and find the thumbnail info struct. | |
The thumbnail info containing the hash of the file is appended to assets. The serialized size of this class can't change since it is found by seeking to the end of the file.