Class TimeSyncOptions
- Namespace
- Backdash.Synchronizing
- Assembly
- Backdash.dll
Time Synchronization options
public sealed class TimeSyncOptions
- Inheritance
-
TimeSyncOptions
- Inherited Members
Constructors
TimeSyncOptions()
public TimeSyncOptions()
Properties
FrameWindowSize
Number of frames used for time synchronization
public int FrameWindowSize { get; init; }
Property Value
- int
Defaults to
40
MaxFrameAdvantage
Max sync recommendation frames.
public int MaxFrameAdvantage { get; init; }
Property Value
- int
Defaults to
9
MinFrameAdvantage
Minimum required advantage to recommend synchronization. Some things just aren't worth correcting for. Make sure the difference is relevant before proceeding.
public int MinFrameAdvantage { get; init; }
Property Value
- int
Defaults to
3
MinUniqueFrames
Number of unique frames
public int MinUniqueFrames { get; init; }
Property Value
- int
Defaults to
10
RequireIdleInput
Make sure our input had been "idle enough" before recommending a sleep. This tries to make the emulator sleep while the user's input isn't sweeping in arcs (e.g. fireball motions in Street Fighter), which could cause the player to miss moves.
public bool RequireIdleInput { get; init; }