Table of Contents

Interface IStateStore

Namespace
Backdash.Synchronizing.State
Assembly
Backdash.dll

Repository for temporary save and restore game states.

public interface IStateStore

Methods

Advance()

Advance the store pointer

void Advance()

GetChecksum(in Frame)

Finds checksum for

uint GetChecksum(in Frame frame)

Parameters

frame Frame

Returns

uint

GetCurrent()

Returns current SavedFrame.

ref SavedFrame GetCurrent()

Returns

SavedFrame

Initialize(int)

Initialize the state buffer with capacity of saveCount

void Initialize(int saveCount)

Parameters

saveCount int

Last()

Returns last SavedFrame.

SavedFrame Last()

Returns

SavedFrame

Load(Frame)

Returns a SavedFrame for frame.

SavedFrame Load(Frame frame)

Parameters

frame Frame

Frame to load.

Returns

SavedFrame