Handles the incoming vital data from the server to update it's local values.
More...
#include <clientvitals.h>
Handles the incoming vital data from the server to update it's local values.
Definition at line 50 of file clientvitals.h.
psClientVitals::psClientVitals |
( |
| ) |
|
void psClientVitals::HandleDeath |
( |
const char * |
labelname | ) |
|
Reset virtuals on death.
- Parameters
-
labelname | The label to be appended to published values |
void psClientVitals::HandleDRData |
( |
psStatDRMessage & |
msg, |
|
|
const char * |
labelname |
|
) |
| |
Handles new Vital data from the server.
- Parameters
-
msg | The Vital message from the server with the correct values for this Vital. |
labelname | The label to be appended to published values |
void psClientVitals::Predict |
( |
csTicks |
now, |
|
|
const char * |
labelname |
|
) |
| |
Predicts the new values of the various Vitals.
This helps limit the lag time in getting new values for these Vitals.
- Parameters
-
now | The current ticks to use from last valid data from the server. |
labelname | The label to be appended to published values |
The documentation for this class was generated from the following file: