The Battle for Wesnoth  1.19.0-dev
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_NAME_AUTH_BAN_USER_ERROR   "107"
 
#define MP_NAME_AUTH_BAN_IP_ERROR   "108"
 
#define MP_NAME_AUTH_BAN_EMAIL_ERROR   "109"
 
#define MP_PASSWORD_REQUEST   "200"
 
#define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME   "201"
 
#define MP_INCORRECT_PASSWORD_ERROR   "203"
 
#define MP_TOO_MANY_ATTEMPTS_ERROR   "204"
 
#define MP_HASHING_PASSWORD_FAILED   "205"
 

Detailed Description

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

Definition in file multiplayer_error_codes.hpp.

Macro Definition Documentation

◆ MP_HASHING_PASSWORD_FAILED

#define MP_HASHING_PASSWORD_FAILED   "205"

Definition at line 38 of file multiplayer_error_codes.hpp.

◆ MP_INCORRECT_PASSWORD_ERROR

#define MP_INCORRECT_PASSWORD_ERROR   "203"

Definition at line 36 of file multiplayer_error_codes.hpp.

◆ MP_INVALID_CHARS_IN_NAME_ERROR

#define MP_INVALID_CHARS_IN_NAME_ERROR   "102"

Definition at line 25 of file multiplayer_error_codes.hpp.

◆ MP_MUST_LOGIN

#define MP_MUST_LOGIN   "100"

Definition at line 23 of file multiplayer_error_codes.hpp.

◆ MP_NAME_AUTH_BAN_EMAIL_ERROR

#define MP_NAME_AUTH_BAN_EMAIL_ERROR   "109"

Definition at line 32 of file multiplayer_error_codes.hpp.

◆ MP_NAME_AUTH_BAN_IP_ERROR

#define MP_NAME_AUTH_BAN_IP_ERROR   "108"

Definition at line 31 of file multiplayer_error_codes.hpp.

◆ MP_NAME_AUTH_BAN_USER_ERROR

#define MP_NAME_AUTH_BAN_USER_ERROR   "107"

Definition at line 30 of file multiplayer_error_codes.hpp.

◆ MP_NAME_INACTIVE_WARNING

#define MP_NAME_INACTIVE_WARNING   "106"

Definition at line 29 of file multiplayer_error_codes.hpp.

◆ MP_NAME_RESERVED_ERROR

#define MP_NAME_RESERVED_ERROR   "104"

Definition at line 27 of file multiplayer_error_codes.hpp.

◆ MP_NAME_TAKEN_ERROR

#define MP_NAME_TAKEN_ERROR   "101"

Definition at line 24 of file multiplayer_error_codes.hpp.

◆ MP_NAME_TOO_LONG_ERROR

#define MP_NAME_TOO_LONG_ERROR   "103"

Definition at line 26 of file multiplayer_error_codes.hpp.

◆ MP_NAME_UNREGISTERED_ERROR

#define MP_NAME_UNREGISTERED_ERROR   "105"

Definition at line 28 of file multiplayer_error_codes.hpp.

◆ MP_PASSWORD_REQUEST

#define MP_PASSWORD_REQUEST   "200"

Definition at line 34 of file multiplayer_error_codes.hpp.

◆ MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME

#define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME   "201"

Definition at line 35 of file multiplayer_error_codes.hpp.

◆ MP_TOO_MANY_ATTEMPTS_ERROR

#define MP_TOO_MANY_ATTEMPTS_ERROR   "204"

Definition at line 37 of file multiplayer_error_codes.hpp.