The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Macros
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.

Macros

#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.

Macro Definition Documentation

#define MP_INCORRECT_PASSWORD_ERROR   "203"

Definition at line 34 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_INVALID_CHARS_IN_NAME_ERROR   "102"

Definition at line 25 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_MUST_LOGIN   "100"

Definition at line 23 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_NAME_INACTIVE_WARNING   "106"

Definition at line 29 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_NAME_RESERVED_ERROR   "104"

Definition at line 27 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_NAME_TAKEN_ERROR   "101"

Definition at line 24 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_NAME_TOO_LONG_ERROR   "103"

Definition at line 26 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_NAME_UNREGISTERED_ERROR   "105"

Definition at line 28 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_NO_SEED_ERROR   "202"

Definition at line 33 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_PASSWORD_REQUEST   "200"

Definition at line 31 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME   "201"

Definition at line 32 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().

#define MP_TOO_MANY_ATTEMPTS_ERROR   "204"

Definition at line 35 of file multiplayer_error_codes.hpp.

Referenced by wesnothd::server::handle_login(), and open_connection().