Crossfire Server, Trunk  R20513
Macros
Player state.

Use of the state-variable in player objects. More...

Macros

#define ST_CHANGE_CLASS   3
 New character, choosing class. More...
 
#define ST_CHANGE_PASSWORD_CONFIRM   13
 Player is confirming new password. More...
 
#define ST_CHANGE_PASSWORD_NEW   12
 Player is entering new password. More...
 
#define ST_CHANGE_PASSWORD_OLD   11
 Player is entering old password to change password. More...
 
#define ST_CONFIRM_PASSWORD   8
 New character, confirm password. More...
 
#define ST_CONFIRM_QUIT   4
 Player used the 'quit' command, make sure that's ok. More...
 
#define ST_GET_NAME   6
 Player just connected. More...
 
#define ST_GET_PARTY_PASSWORD   10
 Player tried to join a password-protected party. More...
 
#define ST_GET_PASSWORD   7
 Name entered, now for password. More...
 
#define ST_PLAY_AGAIN   1
 Player left through a bed of reality, and can login again. More...
 
#define ST_PLAYING   0
 Usual state. More...
 
#define ST_ROLL_STAT   2
 New character, rolling stats. More...
 

Detailed Description

Use of the state-variable in player objects.

See the login process page.

Macro Definition Documentation

#define ST_CHANGE_CLASS   3

New character, choosing class.

Definition at line 580 of file define.h.

Referenced by key_roll_stat(), and reply_cmd().

#define ST_CHANGE_PASSWORD_CONFIRM   13

Player is confirming new password.

Definition at line 588 of file define.h.

Referenced by player_set_state(), receive_player_password(), and reply_cmd().

#define ST_CHANGE_PASSWORD_NEW   12

Player is entering new password.

Definition at line 587 of file define.h.

Referenced by receive_player_password(), and reply_cmd().

#define ST_CHANGE_PASSWORD_OLD   11

Player is entering old password to change password.

Definition at line 586 of file define.h.

Referenced by command_passwd(), receive_player_password(), and reply_cmd().

#define ST_CONFIRM_PASSWORD   8

New character, confirm password.

Definition at line 584 of file define.h.

Referenced by confirm_password(), leave(), receive_player_password(), and reply_cmd().

#define ST_CONFIRM_QUIT   4

Player used the 'quit' command, make sure that's ok.

Definition at line 581 of file define.h.

Referenced by command_quit(), and reply_cmd().

#define ST_GET_NAME   6

Player just connected.

Definition at line 582 of file define.h.

Referenced by get_name(), leave(), receive_play_again(), and reply_cmd().

#define ST_GET_PARTY_PASSWORD   10

Player tried to join a password-protected party.

Definition at line 585 of file define.h.

Referenced by get_party_password(), list_players(), metaserver_update(), reply_cmd(), and save_player().

#define ST_GET_PASSWORD   7

Name entered, now for password.

Definition at line 583 of file define.h.

Referenced by get_password(), leave(), and reply_cmd().

#define ST_PLAY_AGAIN   1

Player left through a bed of reality, and can login again.

Definition at line 578 of file define.h.

Referenced by play_again(), and reply_cmd().

#define ST_PLAYING   0
#define ST_ROLL_STAT   2

New character, rolling stats.

Definition at line 579 of file define.h.

Referenced by add_player(), get_player(), receive_player_password(), and reply_cmd().