Returns continuous server time including network lag For server it's real time, and speed won't ever change
More...
Returns continuous server time including network lag For server it's real time, and speed won't ever change
Definition at line 14 of file MyNetworkTimer.cs.
void Sandbox.Game.Multiplayer.MyNetworkTimer.AddSample |
( |
TimeSpan |
receiveTime, |
|
|
TimeSpan |
serverTime |
|
) |
| |
|
inline |
void Sandbox.Game.Multiplayer.MyNetworkTimer.GetDeltas |
( |
List< TimeSpan > |
toList | ) |
|
|
inline |
void Sandbox.Game.Multiplayer.MyNetworkTimer.InterpolateCorrection |
( |
| ) |
|
|
inline |
void Sandbox.Game.Multiplayer.MyNetworkTimer.Tick |
( |
| ) |
|
|
inline |
double Sandbox.Game.Multiplayer.MyNetworkTimer.AverageDeltaMilliseconds |
|
get |
TimeSpan Sandbox.Game.Multiplayer.MyNetworkTimer.CurrentTime |
|
get |
int Sandbox.Game.Multiplayer.MyNetworkTimer.LastFrameTime |
|
get |
The documentation for this class was generated from the following file: