Crossfire Server, Trunk
R21670
|
Macros | |
#define | ST_CHANGE_CLASS 3 |
#define | ST_CHANGE_PASSWORD_CONFIRM 13 |
#define | ST_CHANGE_PASSWORD_NEW 12 |
#define | ST_CHANGE_PASSWORD_OLD 11 |
#define | ST_CONFIRM_PASSWORD 8 |
#define | ST_CONFIRM_QUIT 4 |
#define | ST_GET_NAME 6 |
#define | ST_GET_PARTY_PASSWORD 10 |
#define | ST_GET_PASSWORD 7 |
#define | ST_PLAY_AGAIN 1 |
#define | ST_PLAYING 0 |
#define | ST_ROLL_STAT 2 |
Use of the state-variable in player objects.
See the login process page.
#define ST_CHANGE_CLASS 3 |
New character, choosing class.
Definition at line 581 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 589 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 588 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 587 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 585 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 582 of file define.h.
Referenced by command_delete(), and reply_cmd().
#define ST_GET_NAME 6 |
Player just connected.
Definition at line 583 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 586 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 584 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 579 of file define.h.
Referenced by play_again(), and reply_cmd().
#define ST_PLAYING 0 |
Usual state.
Definition at line 578 of file define.h.
Referenced by account_play_cmd(), check_login(), create_player_cmd(), do_some_living(), get_other_player_from_name(), handle_client(), handle_cmd(), key_change_class(), key_confirm_quit(), list_players(), metaserver_update(), new_player_cmd(), player_set_state(), process_players1(), receive_party_password(), receive_player_password(), reply_cmd(), save_player(), and update_players().
#define ST_ROLL_STAT 2 |
New character, rolling stats.
Definition at line 580 of file define.h.
Referenced by add_player(), get_player(), receive_player_password(), and reply_cmd().