Class ServicesConfig<TInput>
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
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
LogWriter
Log writer service for session.
public ILogWriter? LogWriter { get; set; }
Property Value
PeerSocketFactory
State store service for session.
public IPeerSocketFactory? PeerSocketFactory { get; set; }
Property Value
Plugin
Custom netcode plugin
public INetcodePlugin? Plugin { get; set; }
Property Value
Random
Default internal random instance
public Random? Random { get; set; }
Property Value
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
StateStore
State store service for session.
public IStateStore? StateStore { get; set; }