|
Planeshift
|
Handles the incoming vital data from the server to update it's local values. More...
#include <clientvitals.h>
Public Member Functions | |
| void | HandleDeath (const char *labelname) |
| Reset virtuals on death. | |
| void | HandleDRData (psStatDRMessage &msg, const char *labelname) |
| Handles new Vital data from the server. | |
| void | Predict (csTicks now, const char *labelname) |
| Predicts the new values of the various Vitals. | |
| psClientVitals () | |
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.
| labelname | The label to be appended to published values |
| void psClientVitals::HandleDRData | ( | psStatDRMessage & | msg, |
| const char * | labelname | ||
| ) |
| 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.
| now | The current ticks to use from last valid data from the server. |
| labelname | The label to be appended to published values |
1.7.3