scorefile_entry Class Reference

#include <hiscores.h>

List of all members.

Public Types

enum  death_desc_verbosity {
  DDV_TERSE, DDV_ONELINE, DDV_NORMAL, DDV_VERBOSE,
  DDV_LOGVERBOSE
}

Public Member Functions

 scorefile_entry ()
 scorefile_entry (int damage, int death_source, int death_type, const char *aux, bool death_cause_only=false, const char *death_source_name=NULL, time_t death_time=0)
 scorefile_entry (const scorefile_entry &se)
scorefile_entryoperator= (const scorefile_entry &other)
void init_death_cause (int damage, int death_source, int death_type, const char *aux, const char *death_source_name)
void init (time_t death_time=0)
void reset ()
std::string raw_string () const
bool parse (const std::string &line)
std::string hiscore_line (death_desc_verbosity verbosity) const
std::string character_description (death_desc_verbosity) const
std::string death_description (death_desc_verbosity) const
std::string death_place (death_desc_verbosity) const
std::string game_time (death_desc_verbosity) const
int get_score () const
int get_death_type () const
time_t get_death_time () const
xlog_fields get_fields () const
void set_base_xlog_fields () const


Member Enumeration Documentation

Enumerator:
DDV_TERSE 
DDV_ONELINE 
DDV_NORMAL 
DDV_VERBOSE 
DDV_LOGVERBOSE 


Constructor & Destructor Documentation

scorefile_entry::scorefile_entry (  ) 

Here is the call graph for this function:

scorefile_entry::scorefile_entry ( int  damage,
int  death_source,
int  death_type,
const char *  aux,
bool  death_cause_only = false,
const char *  death_source_name = NULL,
time_t  death_time = 0 
)

Here is the call graph for this function:

scorefile_entry::scorefile_entry ( const scorefile_entry se  ) 


Member Function Documentation

scorefile_entry & scorefile_entry::operator= ( const scorefile_entry other  ) 

void scorefile_entry::init_death_cause ( int  damage,
int  death_source,
int  death_type,
const char *  aux,
const char *  death_source_name 
)

Here is the call graph for this function:

void scorefile_entry::init ( time_t  death_time = 0  ) 

Here is the call graph for this function:

void scorefile_entry::reset (  ) 

Here is the call graph for this function:

std::string scorefile_entry::raw_string (  )  const

bool scorefile_entry::parse ( const std::string line  ) 

std::string scorefile_entry::hiscore_line ( death_desc_verbosity  verbosity  )  const

Here is the call graph for this function:

std::string scorefile_entry::character_description ( death_desc_verbosity  verbosity  )  const

Here is the call graph for this function:

std::string scorefile_entry::death_description ( death_desc_verbosity  verbosity  )  const

Here is the call graph for this function:

std::string scorefile_entry::death_place ( death_desc_verbosity  verbosity  )  const

Here is the call graph for this function:

std::string scorefile_entry::game_time ( death_desc_verbosity  verbosity  )  const

Here is the call graph for this function:

int scorefile_entry::get_score (  )  const [inline]

int scorefile_entry::get_death_type (  )  const [inline]

time_t scorefile_entry::get_death_time (  )  const [inline]

xlog_fields scorefile_entry::get_fields (  )  const

void scorefile_entry::set_base_xlog_fields (  )  const

Here is the call graph for this function:


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

Generated on Thu Jan 13 13:41:43 2011 by  doxygen 1.5.6