Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
server::savedscore Struct Reference

Save scores if client disconnects to restore it when he reconnects. More...

Public Member Functions

void save (gamestate &gs)
 
void restore (gamestate &gs)
 

Public Attributes

uint ip
 
string name
 
int maxhealth
 
int frags
 
int flags
 
int deaths
 
int teamkills
 
int shotdamage
 
int damage
 
int timeplayed
 
float effectiveness
 
int bombradius
 
int bombdelay
 

Detailed Description

Save scores if client disconnects to restore it when he reconnects.

Member Function Documentation

void server::savedscore::restore ( gamestate gs)
inline
void server::savedscore::save ( gamestate gs)
inline

Member Data Documentation

int server::savedscore::bombdelay

Referenced by restore(), and save().

int server::savedscore::bombradius

Referenced by restore(), and save().

int server::savedscore::damage

Referenced by restore(), and save().

int server::savedscore::deaths

Referenced by restore(), and save().

float server::savedscore::effectiveness

Referenced by restore(), and save().

int server::savedscore::flags

Referenced by restore(), and save().

int server::savedscore::frags

Referenced by restore(), and save().

uint server::savedscore::ip

Referenced by server::findscore().

int server::savedscore::maxhealth

Referenced by restore(), and save().

string server::savedscore::name

Referenced by server::findscore().

int server::savedscore::shotdamage

Referenced by restore(), and save().

int server::savedscore::teamkills

Referenced by restore(), and save().

int server::savedscore::timeplayed

Referenced by restore(), and save().


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