Crossfire Server, Trunk
score Struct Reference
+ Collaboration diagram for score:

Data Fields

int64_t exp
 
char killer [BIG_NAME]
 
char maplevel [BIG_NAME]
 
int maxgrace
 
int maxhp
 
int maxsp
 
char name [BIG_NAME]
 
int position
 
char title [BIG_NAME]
 

Detailed Description

The score structure is used when treating new high-scores.

Definition at line 35 of file hiscore.cpp.

Field Documentation

◆ exp

int64_t score::exp

Experience.

Definition at line 39 of file hiscore.cpp.

Referenced by add_score(), draw_one_high_score(), get_score(), hiscore_check(), and put_score().

◆ killer

char score::killer[BIG_NAME]

Name (+ title) or "left".

Definition at line 38 of file hiscore.cpp.

Referenced by draw_one_high_score(), get_score(), hiscore_check(), and put_score().

◆ maplevel

char score::maplevel[BIG_NAME]

Killed on what level.

Definition at line 40 of file hiscore.cpp.

Referenced by draw_one_high_score(), get_score(), hiscore_check(), and put_score().

◆ maxgrace

int score::maxgrace

Max grace when killed.

Definition at line 43 of file hiscore.cpp.

Referenced by draw_one_high_score(), get_score(), hiscore_check(), and put_score().

◆ maxhp

int score::maxhp

Max hp when killed.

Definition at line 41 of file hiscore.cpp.

Referenced by draw_one_high_score(), get_score(), hiscore_check(), and put_score().

◆ maxsp

int score::maxsp

Max sp when killed.

Definition at line 42 of file hiscore.cpp.

Referenced by draw_one_high_score(), get_score(), hiscore_check(), and put_score().

◆ name

char score::name[BIG_NAME]

◆ position

int score::position

Position in the highscore list.

Definition at line 44 of file hiscore.cpp.

Referenced by add_score(), draw_one_high_score(), hiscore_check(), and hiscore_load().

◆ title

char score::title[BIG_NAME]

Title.

Definition at line 37 of file hiscore.cpp.

Referenced by draw_one_high_score(), get_score(), hiscore_check(), and put_score().


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