Crossfire Server  1.75.0
score Struct Reference

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

Data Fields

int64_t exp
 Experience. More...
 
char killer [BIG_NAME]
 Name (+ title) or "left". More...
 
char maplevel [BIG_NAME]
 Killed on what level. More...
 
int maxgrace
 Max grace when killed. More...
 
int maxhp
 Max hp when killed. More...
 
int maxsp
 Max sp when killed. More...
 
char name [BIG_NAME]
 Name. More...
 
int position
 Position in the highscore list. More...
 
char title [BIG_NAME]
 Title. More...
 

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

◆ 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 41 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 41 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: