Crossfire Server  1.75.0
account_char.h
Go to the documentation of this file.
1 
6 #ifndef ACCOUNT_CHAR_H
7 #define ACCOUNT_CHAR_H
8 
12 struct Account_Char {
16  uint8_t level;
20  uint8_t isDead;
21 };
22 
27 struct Account_Chars {
29  uint8_t ref_count;
30  std::vector<Account_Char *> chars;
31 };
32 
33 void account_char_remove(Account_Chars *chars, const char *pl_name);
34 int make_perma_dead(object *op);
35 int unmake_perma_dead(char *account, char *player);
36 
37 #endif
void account_char_remove(Account_Chars *chars, const char *pl_name)
This removes a character on this account.
sstring face
< Level of this character
Definition: account_char.h:17
int make_perma_dead(object *op)
This will edit the character account information so that the character that just died in permadeath w...
uint8_t ref_count
Number of pointers on this structure.
Definition: account_char.h:29
sstring name
Definition: account_char.h:13
sstring race
< Class of this character
Definition: account_char.h:15
sstring party
< Face of this character
Definition: account_char.h:18
One character in an account.
Definition: account_char.h:12
int unmake_perma_dead(char *account, char *player)
This will edit the character account information so that the character that was just resurrected in p...
uint8_t level
< Race of this character
Definition: account_char.h:16
sstring account_name
Account the information is for.
Definition: account_char.h:28
Structure handling character information for an account.
Definition: account_char.h:27
sstring character_class
< Name of this character/player
Definition: account_char.h:14
uint8_t isDead
< Last map this character was on
Definition: account_char.h:20
One player.
Definition: player.h:107
const char * sstring
Definition: sstring.h:2
sstring map
< Character this party belonged to
Definition: account_char.h:19
std::vector< Account_Char * > chars
Characters of the account.
Definition: account_char.h:30