| 
    Planeshift
    
   | 
 
Manages a set of Vitals and does the predictions and updates on them when new data comes from the server. More...
#include <vitals.h>
Public Member Functions | |
| unsigned int | GetExp () | 
| Get players experience points.  More... | |
| float | GetHP () | 
| float | GetMana () | 
| float | GetMStamina () | 
| unsigned int | GetPP () | 
| Gets a players current progression points.  More... | |
| float | GetPStamina () | 
| Vital & | GetVital (int vital) | 
| Get a reference to a particular vital.  More... | |
| psVitalManager () | |
| void | ResetVitals () | 
| Reset to the "original" vitals (for use when killing NPCs).  More... | |
| void | SetOrigVitals () | 
| Saves the current vitals as the "original".  More... | |
| void | SetVitals (const psVitalManager &newVitalMgr) | 
| ~psVitalManager () | |
Protected Attributes | |
| unsigned int | experiencePoints | 
| Players current experience points.  More... | |
| csTicks | lastDRUpdate | 
| Vital | origVitals [VITAL_COUNT] | 
| unsigned int | progressionPoints | 
| Players progression Points.  More... | |
| Vital | vitals [VITAL_COUNT] | 
| A list of player vitals.  More... | |
Manages a set of Vitals and does the predictions and updates on them when new data comes from the server.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected | 
      
  | 
  protected |