Table of Contents

Interface INetcodeSessionInfo

Namespace
Backdash
Assembly
Backdash.dll

Contract for managing a netcode session.

public interface INetcodeSessionInfo

Properties

CurrentChecksum

Returns the checksum of the current saved state.

uint CurrentChecksum { get; }

Property Value

uint

CurrentFrame

Returns the current session Frame.

Frame CurrentFrame { get; }

Property Value

Frame

CurrentStateSize

Returns the size of the current saved state.

ByteSize CurrentStateSize { get; }

Property Value

ByteSize

FixedFrameRate

Returns the configured frame rate.

int FixedFrameRate { get; }

Property Value

int

FramesBehind

Returns the number of frames the client is behind.

FrameSpan FramesBehind { get; }

Property Value

FrameSpan
See Also

IsInRollback

Returns true if the session is in rollback state

bool IsInRollback { get; }

Property Value

bool

LocalPort

Returns the current TCP local port.

int LocalPort { get; }

Property Value

int

Mode

Returns the current SessionMode.

SessionMode Mode { get; }

Property Value

SessionMode

NumberOfPlayers

Returns the number of player in the current session.

int NumberOfPlayers { get; }

Property Value

int

NumberOfSpectators

Returns the number of spectators in the current session.

int NumberOfSpectators { get; }

Property Value

int

RollbackFrames

Returns the number of current rollback frames.

FrameSpan RollbackFrames { get; }

Property Value

FrameSpan
See Also

Methods

GetCurrentSavedFrame()

Returns the last saved state.

SavedFrame GetCurrentSavedFrame()

Returns

SavedFrame