#include <SerializeContext.h>
Inherited by AZ::Internal::AZStdArrayEvents.
Public Member Functions | |
virtual void | OnReadBegin (void *classPtr) |
Called right before we start reading from the instance pointed by classPtr. | |
virtual void | OnReadEnd (void *classPtr) |
Called after we are done reading from the instance pointed by classPtr. | |
virtual void | OnWriteBegin (void *classPtr) |
Called right before we start writing to the instance pointed by classPtr. | |
virtual void | OnWriteEnd (void *classPtr) |
virtual void | OnPatchBegin (void *classPtr, const DataPatchNodeInfo &patchInfo) |
Called right before we start data patching the instance pointed by classPtr. | |
virtual void | OnPatchEnd (void *classPtr, const DataPatchNodeInfo &patchInfo) |
Called after we are done data patching the instance pointed by classPtr. | |
virtual void | OnLoadedFromObjectStream (void *classPtr) |
Called after an instance has been loaded from a source data stream, such as ObjectStream::Load or JsonSerialization::Load. | |
virtual void | OnObjectCloned (void *classPtr) |
Called after an object is cloned in SerializeContext::EndCloneObject. | |
Serialize class events. IMPORTANT: Serialize events can be called from serialization thread(s). So all functions should be thread safe.
|
inlinevirtual |
Called after we are done writing to the instance pointed by classPtr. NOTE: Care must be taken when using this callback. It is called when ID remapping occurs, an instance is clone or an instance is loaded from an objectstream. This means that this function can be invoked multiple times in the course of serializing a new instance from an ObjectStream or cloning an object.