Defines

multiplayer_error_codes.hpp File Reference

Define the errors the server may send during the login procedure. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MP_MUST_LOGIN   "100"
#define MP_NAME_TAKEN_ERROR   "101"
#define MP_INVALID_CHARS_IN_NAME_ERROR   "102"
#define MP_NAME_TOO_LONG_ERROR   "103"
#define MP_NAME_RESERVED_ERROR   "104"
#define MP_NAME_UNREGISTERED_ERROR   "105"
#define MP_NAME_INACTIVE_WARNING   "106"
#define MP_PASSWORD_REQUEST   "200"
#define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME   "201"
#define MP_NO_SEED_ERROR   "202"
#define MP_INCORRECT_PASSWORD_ERROR   "203"
#define MP_TOO_MANY_ATTEMPTS_ERROR   "204"

Detailed Description

Define the errors the server may send during the login procedure.

Definition in file multiplayer_error_codes.hpp.


Define Documentation

#define MP_INCORRECT_PASSWORD_ERROR   "203"

Definition at line 35 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_INVALID_CHARS_IN_NAME_ERROR   "102"

Definition at line 26 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_MUST_LOGIN   "100"

Definition at line 24 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_NAME_INACTIVE_WARNING   "106"

Definition at line 30 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_NAME_RESERVED_ERROR   "104"

Definition at line 28 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_NAME_TAKEN_ERROR   "101"

Definition at line 25 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_NAME_TOO_LONG_ERROR   "103"

Definition at line 27 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_NAME_UNREGISTERED_ERROR   "105"

Definition at line 29 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_NO_SEED_ERROR   "202"

Definition at line 34 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_PASSWORD_REQUEST   "200"

Definition at line 32 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME   "201"

Definition at line 33 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

#define MP_TOO_MANY_ATTEMPTS_ERROR   "204"

Definition at line 36 of file multiplayer_error_codes.hpp.

Referenced by open_connection(), and server::process_login().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:08:33 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs