Table of Contents

Class ServicesConfig<TInput>

Namespace
Backdash.Options
Assembly
Backdash.dll

Session dependencies.

public sealed class ServicesConfig<TInput> where TInput : unmanaged

Type Parameters

TInput

Input type

Inheritance
ServicesConfig<TInput>
Inherited Members

Constructors

ServicesConfig()

public ServicesConfig()

Properties

ChecksumProvider

Checksum provider service for session state. Defaults to: Fletcher32 Fletcher32ChecksumProvider

public IChecksumProvider? ChecksumProvider { get; set; }

Property Value

IChecksumProvider

DeterministicRandom

Service for in-game random value generation in session Defaults to XorShiftRandom<TInput>

public IDeterministicRandom<TInput>? DeterministicRandom { get; set; }

Property Value

IDeterministicRandom<TInput>

InputComparer

Comparer to be used with TInput

public EqualityComparer<TInput>? InputComparer { get; set; }

Property Value

EqualityComparer<TInput>

InputListener

Service to listen for confirmed inputs

public IInputListener<TInput>? InputListener { get; set; }

Property Value

IInputListener<TInput>

Jobs

Custom netcode background jobs

public HashSet<INetcodeJob> Jobs { get; set; }

Property Value

HashSet<INetcodeJob>

LogWriter

Log writer service for session.

public ILogWriter? LogWriter { get; set; }

Property Value

ILogWriter

PeerSocketFactory

State store service for session.

public IPeerSocketFactory? PeerSocketFactory { get; set; }

Property Value

IPeerSocketFactory

Plugin

Custom netcode plugin

public INetcodePlugin? Plugin { get; set; }

Property Value

INetcodePlugin

Random

Default internal random instance

public Random? Random { get; set; }

Property Value

Random

SessionHandler

Defines the callback functions that your application must implement. Backdash will periodically call these functions during the session lifecycle.

public INetcodeSessionHandler? SessionHandler { get; set; }

Property Value

INetcodeSessionHandler

StateStore

State store service for session.

public IStateStore? StateStore { get; set; }

Property Value

IStateStore