|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <round_trip.h>
Public Member Functions | |
| void | Sent (uint32_t sequence, double now) |
| We sent the input of that sequence, at the time, in seconds. | |
| void | Acked (uint32_t acked, double now) |
| The world says the server applied the inputs up to acked. | |
| float | milliseconds () const |
| In milliseconds, smoothed over the last few, or 0 before any. | |
How long the server takes to apply an input of ours and say so: from sending each numbered input to the world that says it was applied.
Definition at line 11 of file round_trip.h.
| void nanommo::RoundTrip::Acked | ( | uint32_t | acked, |
| double | now ) |
The world says the server applied the inputs up to acked.
Definition at line 26 of file round_trip.cc.
|
inline |
In milliseconds, smoothed over the last few, or 0 before any.
Definition at line 20 of file round_trip.h.
| void nanommo::RoundTrip::Sent | ( | uint32_t | sequence, |
| double | now ) |
We sent the input of that sequence, at the time, in seconds.
Definition at line 24 of file round_trip.cc.