#include <entity.h>
Inherited by clientstate, and playerent.
Public Member Functions | |
| playerstate () | |
| virtual | ~playerstate () |
| itemstat & | itemstats (int type) |
| bool | canpickup (int type) |
| void | additem (itemstat &is, int &v) |
| void | pickup (int type) |
| void | respawn () |
| virtual void | spawnstate (int gamemode) |
| int | dodamage (int damage) |
Public Attributes | |
| int | health |
| int | armour |
| int | primary |
| int | nextprimary |
| int | gunselect |
| bool | akimbo |
| int | ammo [NUMGUNS] |
| int | mag [NUMGUNS] |
| int | gunwait [NUMGUNS] |
| playerstate::playerstate | ( | ) | [inline] |
| virtual playerstate::~playerstate | ( | ) | [inline, virtual] |
| void playerstate::additem | ( | itemstat & | is, | |
| int & | v | |||
| ) | [inline] |
| bool playerstate::canpickup | ( | int | type | ) | [inline] |
| int playerstate::dodamage | ( | int | damage | ) | [inline] |
| itemstat& playerstate::itemstats | ( | int | type | ) | [inline] |
| void playerstate::pickup | ( | int | type | ) | [inline] |
| void playerstate::respawn | ( | ) | [inline] |
Reimplemented in playerent, and clientstate.
| virtual void playerstate::spawnstate | ( | int | gamemode | ) | [inline, virtual] |
Reimplemented in playerent.
| bool playerstate::akimbo |
| int playerstate::ammo[NUMGUNS] |
| int playerstate::gunwait[NUMGUNS] |
| int playerstate::mag[NUMGUNS] |
1.5.7.1