Crossfire Server, Trunk
account_char_struct Struct Reference

#include <account_char.h>

+ Collaboration diagram for account_char_struct:

Data Fields

sstring character_class
 
sstring face
 
uint8_t isDead
 
uint8_t level
 
sstring map
 
sstring name
 
struct account_char_structnext
 
sstring party
 
sstring race
 

Detailed Description

One character in an account.

Definition at line 12 of file account_char.h.

Field Documentation

◆ character_class

sstring account_char_struct::character_class

< Name of this character/player

Definition at line 14 of file account_char.h.

Referenced by account_char_add(), account_char_free(), account_char_remove(), and send_account_players().

◆ face

sstring account_char_struct::face

< Level of this character

Definition at line 17 of file account_char.h.

Referenced by account_char_add(), account_char_free(), account_char_remove(), send_account_players(), and START_TEST().

◆ isDead

uint8_t account_char_struct::isDead

< Last map this character was on

Definition at line 20 of file account_char.h.

Referenced by account_char_add(), and send_account_players().

◆ level

uint8_t account_char_struct::level

< Race of this character

Definition at line 16 of file account_char.h.

Referenced by account_char_add(), send_account_players(), and START_TEST().

◆ map

sstring account_char_struct::map

< Character this party belonged to

Definition at line 19 of file account_char.h.

Referenced by account_char_add(), account_char_free(), account_char_remove(), send_account_players(), and START_TEST().

◆ name

sstring account_char_struct::name

◆ next

struct account_char_struct* account_char_struct::next

< Should stay at zero if alive, anything else if dead (hopefully 1, but doesn't have to be)

Definition at line 21 of file account_char.h.

Referenced by account_char_add(), account_char_free(), account_char_load_from_file(), account_char_remove(), char_in_list(), send_account_players(), and START_TEST().

◆ party

sstring account_char_struct::party

< Face of this character

Definition at line 18 of file account_char.h.

Referenced by account_char_add(), account_char_free(), account_char_remove(), send_account_players(), and START_TEST().

◆ race

sstring account_char_struct::race

< Class of this character

Definition at line 15 of file account_char.h.

Referenced by account_char_add(), account_char_free(), account_char_remove(), send_account_players(), and START_TEST().


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