Reset
method in Coherence.INetworkTime
Methods
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 |