Crossfire Server, Branch 1.12  R12190
Defines
Player state.

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

Defines

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

Detailed Description

Use of the state-variable in player objects.

See the login process page.


Define Documentation

#define ST_CHANGE_CLASS   3

New character, choosing class.

Definition at line 817 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 825 of file define.h.

Referenced by receive_player_password(), and reply_cmd().

#define ST_CHANGE_PASSWORD_NEW   12

Player is entering new password.

Definition at line 824 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 823 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 821 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 818 of file define.h.

Referenced by command_quit(), and reply_cmd().

#define ST_GET_NAME   6

Player just connected.

Definition at line 819 of file define.h.

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

#define ST_GET_PARTY_PASSWORD   10

Player tried to join a password-protected party.

Definition at line 822 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 820 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 815 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 816 of file define.h.

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