Class CoherenceInputManager
public class CoherenceInputManager
- Inheritance
-
CoherenceInputManager
Constructors
CoherenceInputManager(ICoherenceBridge)
public CoherenceInputManager(ICoherenceBridge bridge)
Parameters
bridge
ICoherenceBridge
Properties
AcknowledgedFrame
Last common acknowledged frame for all inputs in the system.
public long AcknowledgedFrame { get; }
Property Value
CommonReceivedFrame
Last common received frame for all inputs in the system.
public long CommonReceivedFrame { get; }
Property Value
CurrentFixedSimulationFrame
public long CurrentFixedSimulationFrame { get; }
Property Value
MispredictionFrame
Last common misprediction frame for all inputs in the system.
public long? MispredictionFrame { get; }
Property Value
- long?
ProcessingEnabled
If false, the manager won't process anything during a fixed frame update.
public bool ProcessingEnabled { get; set; }
Property Value
ShouldPause
If true, the system cannot do any more predictions. Client should pause the game and stop polling inputs to not lose any data required for a rollback.
public bool ShouldPause { get; }
Property Value
Events
OnPauseChange
Raised when the ShouldPause flag changes indicating that the simulation should pause.
public event PauseHandler OnPauseChange