Table of Contents

Struct SavedFrame<TState>

Namespace
Backdash.Synchronizing.State
Assembly
Backdash.dll

Represents a save-state at specific frame.

public struct SavedFrame<TState> : IEquatable<SavedFrame<TState>> where TState : notnull

Type Parameters

TState

Game state type

Implements
Inherited Members

Constructors

SavedFrame(Frame, TState, int)

Represents a save-state at specific frame.

public SavedFrame(Frame Frame, TState GameState, int Checksum)

Parameters

Frame Frame

Saved frame number

GameState TState

Game state on Frame

Checksum int

Checksum of state

Fields

Checksum

Saved checksum

public int Checksum

Field Value

int

Frame

Saved frame number

public Frame Frame

Field Value

Frame

GameState

Saved game state

public TState GameState

Field Value

TState

Methods

Deconstruct(out Frame, out TState, out int)

public readonly void Deconstruct(out Frame Frame, out TState GameState, out int Checksum)

Parameters

Frame Frame
GameState TState
Checksum int

Equals(SavedFrame<TState>)

public readonly bool Equals(SavedFrame<TState> other)

Parameters

other SavedFrame<TState>

Returns

bool

Equals(object)

public override readonly bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override readonly int GetHashCode()

Returns

int

ToString()

public override readonly string ToString()

Returns

string

Operators

operator ==(SavedFrame<TState>, SavedFrame<TState>)

public static bool operator ==(SavedFrame<TState> left, SavedFrame<TState> right)

Parameters

left SavedFrame<TState>
right SavedFrame<TState>

Returns

bool

operator !=(SavedFrame<TState>, SavedFrame<TState>)

public static bool operator !=(SavedFrame<TState> left, SavedFrame<TState> right)

Parameters

left SavedFrame<TState>
right SavedFrame<TState>

Returns

bool