Reset
method in Coherence.Core.NetworkTime
Methods
public void Reset(AbsoluteSimulationFrame newClientAndServerFrame = default, bool notify = true)
Resets client and server frames to the given value. Happens on connect, disconnect and when client/server frames are too far apart. Sets IsTimeSynced to false, causing SessionTime to reset back to zero. Triggers OnTimeReset.
The new frame value that will be applied to both ClientSimulationFrame and ServerSimulationFrame. Default is frame zero.Parameters
Type | Name | Description |
---|---|---|
AbsoluteSimulationFrame | newClientAndServerFrame | |
bool | notify |