Defined in:Unpacks an object's data.
virtual void Unpack(Unpacker& data, uint32 unpackFlags);
||The unpacking flags.|
Unpackfunction is called when the engine needs to unpack an object's data. The implementation of an override should first call the direct base class's
Unpackfunction and then use the functions of the
Unpackerobject to unpack its own data.
If chunks were used to write the object data in the override of the
Packable::Packfunction, then the
Unpackfunction should call the
Packable::UnpackChunkListfunction to unpack its data.