playerent Class Reference

#include <entity.h>

Inherits dynent, and playerstate.

Inherited by botent.

Collaboration diagram for playerent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool allowmove ()
 playerent ()
virtual ~playerent ()
void damageroll (float damage)
void hitpush (int damage, const vec &dir, playerent *actor, int gun)
void resetspec ()
void respawn ()
void spawnstate (int gamemode)
void selectweapon (int w)
void setprimary (int w)
void setnextprimary (int w)
bool isspectating ()
void weaponswitch (weapon *w)

Public Attributes

int clientnum
int lastupdate
int plag
int ping
int lifesequence
int frags
int flagscore
int deaths
int lastaction
int lastmove
int lastpain
int lastvoicecom
int clientrole
bool attacking
string name
string team
int weaponchanging
int nextweapon
int skin
int spectatemode
int followplayercn
int eardamagemillis
int respawnoffset
weapon * weapons [NUMGUNS]
weapon * prevweaponsel
weapon * weaponsel
weapon * nextweaponsel
weapon * primweap
weapon * nextprimweap
weapon * lastattackweapon
poshist history
const char * skin_noteam
const char * skin_cla
const char * skin_rvsf
float deltayaw
float deltapitch
float newyaw
float newpitch
int smoothmillis
vec head


Constructor & Destructor Documentation

playerent::playerent (  )  [inline]

virtual playerent::~playerent (  )  [inline, virtual]


Member Function Documentation

bool playerent::allowmove (  )  [inline]

void playerent::damageroll ( float  damage  )  [inline]

void playerent::hitpush ( int  damage,
const vec &  dir,
playerent *  actor,
int  gun 
) [inline]

bool playerent::isspectating (  )  [inline]

void playerent::resetspec (  )  [inline]

void playerent::respawn (  )  [inline]

Reimplemented from playerstate.

void playerent::selectweapon ( int  w  )  [inline]

void playerent::setnextprimary ( int  w  )  [inline]

void playerent::setprimary ( int  w  )  [inline]

void playerent::spawnstate ( int  gamemode  )  [inline, virtual]

Reimplemented from playerstate.

void playerent::weaponswitch ( weapon *  w  )  [inline]


Member Data Documentation

const char * playerent::skin_cla

const char * playerent::skin_rvsf


The documentation for this class was generated from the following file:

Generated on Mon Dec 8 21:41:36 2008 for AssaultCube by  doxygen 1.5.7.1