Struct GridChangeStamp
Identifies the committed order and logical cause of a GridForge world mutation.
public readonly struct GridChangeStamp : IEquatable<GridChangeStamp>
- Implements
- Inherited Members
Constructors
GridChangeStamp(ulong, ulong)
Initializes a change stamp.
public GridChangeStamp(ulong sequence, ulong causeId)
Parameters
Fields
CauseId
The world-local logical cause shared by notifications emitted for one mutation.
public readonly ulong CauseId
Field Value
Sequence
The world-local commit order. Zero is reserved for an invalid or default value.
public readonly ulong Sequence
Field Value
Properties
IsValid
Whether this value identifies a committed world mutation.
public bool IsValid { get; }
Property Value
Methods
Equals(GridChangeStamp)
public bool Equals(GridChangeStamp other)
Parameters
otherGridChangeStamp
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(GridChangeStamp, GridChangeStamp)
public static bool operator ==(GridChangeStamp left, GridChangeStamp right)
Parameters
leftGridChangeStamprightGridChangeStamp
Returns
operator !=(GridChangeStamp, GridChangeStamp)
public static bool operator !=(GridChangeStamp left, GridChangeStamp right)
Parameters
leftGridChangeStamprightGridChangeStamp