ReplayTarget Class

Ultimate Replay

ReplayTarget Class
Represents and abstract storage device capable of holding recorded state data for playback at a later date. Depending upon implementation, a ReplayTarget may be volatile or non-volatile.
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          UltimateReplayReplayBehaviour
            UltimateReplay.StorageReplayTarget
              UltimateReplay.StorageReplayMemoryTarget

Namespace: UltimateReplay.Storage
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public abstract class ReplayTarget : ReplayBehaviour

The ReplayTarget type exposes the following members.

Constructors
  NameDescription
Protected methodReplayTarget
Initializes a new instance of the ReplayTarget class
Top
Methods
  NameDescription
Public methodPrepareTarget
Called by the recording system to notify the active ReplayTarget of an upcoming event.
Public methodRecordSnapshot
Store a replay snapshot in the replay target.
Public methodRestoreSnapshot
Recall a snapshot from the replay target based on the specified replay offset.
Top
Fields
  NameDescription
Protected fieldduration
The amount of time in seconds that the current recording data lasts. If no data exists then the duration will dfault to a length of 0.
Top
Properties
  NameDescription
Public propertyDuration
The amount of time in seconds that this recording lasts.
Public propertyMemorySize
Get the total amount of bytes that this replay uses.
Top
See Also