Table of Contents

Namespace Backdash

Classes

LocalPlayer

Holds data for a new player of type Local.

PeerNetworkStats

Holds current session network stats. Calculated in intervals of NetworkStatsInterval.

PeerNetworkStats.PackagesInfo

Hold package traffic data

Player

Holds data of a player to be added to IRollbackSession<TInput>.

RemotePlayer

Holds data for a new player of type Remote.

RollbackNetcode

The session factory used to create new netcode sessions.

RollbackOptions

Configurations for sessions.

SessionServices<TInput, TGameState>

Session dependencies.

Spectator

Holds data for a new player of type Spectator.

Structs

ConnectionInterruptedEventInfo

Data for ConnectionInterrupted event.

PeerEventInfo

Data structure for PeerEventInfo notifications. OnPeerEvent(PlayerHandle, PeerEventInfo)

PlayerHandle

Session player identification .

SynchronizedEventInfo

Data for Synchronized event.

SynchronizingEventInfo

Data for Synchronizing event.

Interfaces

IRollbackHandler<TState>

The SessionCallbacks contains the callback functions that your application must implement. Backdash will periodically call these functions during the game. All callback functions must be implemented.

IRollbackSessionInfo

Holds basic session information.

IRollbackSession<TInput>

Context for a multiplayer game session.

IRollbackSession<TInput, TState>

Context for a multiplayer game session.

Enums

PeerEvent

Peer event type

PlayerType

Defines player type.

ResultCode

Results for IRollbackSession<TInput> operations.

SessionMode

Defines the mode of IRollbackSession<TInput>>