ReplaySnapshot Methods

Ultimate Replay

ReplaySnapshot Methods

The ReplaySnapshot type exposes the following members.

Methods
  Name Description
Public method OnReplayDataDeserialize
Called by the replay system when this ReplaySnapshot should be deserialized from binary.
Public method OnReplayDataSerialize
Called by the replay system when this ReplaySnapshot should be serialized to binary.
Public method OnReplayDeserialize
Called by the replay system when this ReplaySnapshot should be deserialized.
Public method OnReplaySerialize
Called by the replay system when this ReplaySnapshot should be serialized.
Public method RecordInitialReplayObjectData
Attempts to record the initial information about a newly created replay object. The initial information will only be sroted if the data is not equal to the default value.
Public method RecordSnapshot
Registers the specified replay state with this snapshot. The specified identity is used during playback to ensure that the replay objects receives the correct state to deserialize.
Public method Reset
Clears all state information from the snapshot but keeps the time stamp.
Public method RestoreInitialReplayObjectData
Attempts to get the initial data for the replay object with the specified ReplayIdentity. A ReplayInitialData will be returned containing the initial state for the replay object.
Public method RestoreReplayObjects
Attempts to restore any replay objects that were spawned or despawned during this snapshot.
Public method RestoreSnapshot
Attempts to recall the state information for the specified replay object identity. If the identity does not exist in the scene then the return value will be null.
Top
See Also