ReplayIdentity Class

Ultimate Replay

ReplayIdentity Class
A replay identity is an essential component in the Ultimate Replay system and is used to identify replay objects between sessions. Replay identities are assigned at edit time where possible and will never change values. Replay identities are also use to identify prefab instances that are spawned during a replay.
Inheritance Hierarchy
SystemObject  UltimateReplay.CoreReplayIdentity

Namespace: UltimateReplay.Core
Assembly: UltimateReplay (in UltimateReplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class ReplayIdentity : IEquatable<ReplayIdentity>

The ReplayIdentity type exposes the following members.

Constructors
  NameDescription
Public methodReplayIdentity
Create a new ReplayIdentity.
Top
Methods
  NameDescription
Public methodEquals(Object)
Override implementation.
(Overrides ObjectEquals(Object).)
Public methodEquals(ReplayIdentity)
IEquateable implementation.
Public methodGenerate
Generates a unique ReplayIdentity.
Public methodGetHashCode
Override implementation.
(Overrides ObjectGetHashCode.)
Public methodStatic memberIsUnique(Int32)
Returns true if the specified id is unique or false if not.
Public methodStatic memberIsUnique(ReplayIdentity)
Returns true if the specified ReplayIdentity is unique or false if not.
Public methodToString
Override implementation.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Override equals operator.
Public operatorStatic member(Int16 to ReplayIdentity)
Implicit short conversion (16 bit identity only).
Public operatorStatic member(ReplayIdentity to Int16)
Implicit int conversion (32 bit identity only).
Public operatorStatic memberInequality
Override not-equals operator.
Top
Fields
  NameDescription
Public fieldStatic memberbyteSize
Get the size in bytes of a ReplayIdentity representation.
Public fieldStatic memberunassignedIdentity
Get the default value for a ReplayIdentity id which equates to an unassigned identity.
Top
Properties
  NameDescription
Public propertyIsAssigned
Returns true if the identity has been generated or false if it has not.
Top
See Also