Class RollbackOptions
- Namespace
- Backdash
- Assembly
- Backdash.dll
Configurations for sessions.
public sealed class RollbackOptions
- Inheritance
-
RollbackOptions
- Inherited Members
Constructors
RollbackOptions()
public RollbackOptions()
Properties
FrameDelay
Amount of frames to delay for local input
public int FrameDelay { get; init; }
Property Value
- int
Defaults to
2
FramesPerSecond
Base FPS used to estimate fairness (frame advantage) over peers.
public short FramesPerSecond { get; init; }
Property Value
InputQueueLength
Max length for player input queues.
public int InputQueueLength { get; init; }
Property Value
- int
Defaults to
128
Log
Logging options. LogOptions
public LogOptions Log { get; init; }
Property Value
NetworkEndianness
Forces serialization byte order to network order BigEndian.
public bool NetworkEndianness { get; init; }
Property Value
- See Also
PredictionFrames
Max allowed prediction frames.
public int PredictionFrames { get; init; }
Property Value
- int
Defaults to
16
- See Also
PredictionFramesOffset
Value to be incremented on PredictionFrames in state store Initialize(int)
public int PredictionFramesOffset { get; init; }
Property Value
- int
Defaults to
2
- See Also
-
IStateStore<TState>
Protocol
Networking Protocol options. ProtocolOptions
public ProtocolOptions Protocol { get; init; }
Property Value
RecommendationInterval
Interval for time synchronization notifications.
public int RecommendationInterval { get; init; }
Property Value
- int
Defaults to
240
milliseconds
- See Also
SpectatorInputBufferLength
Max length for spectators input queues.
public int SpectatorInputBufferLength { get; init; }
Property Value
- int
Defaults to
128
SpectatorOffset
Offset to be incremented to spectators Number when added to session.
public int SpectatorOffset { get; init; }
Property Value
- int
Defaults to
1000
- See Also
TimeSync
Time synchronization options. TimeSyncOptions
public TimeSyncOptions TimeSync { get; init; }
Property Value
UseIPv6
Config UdpSocket to use IPv6.
public bool UseIPv6 { get; init; }
Property Value
UseInputSeedForRandom
Enabled input base seed for deterministic random
public bool UseInputSeedForRandom { get; init; }