The Battle for Wesnoth
1.19.7+dev
multiplayer_error_codes.hpp
Go to the documentation of this file.
1
/*
2
Copyright (C) 2009 - 2024
3
by Thomas Baumhauer <thomas.baumhauer@NOSPAMgmail.com>
4
Part of the Battle for Wesnoth Project https://www.wesnoth.org/
5
6
This program is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY.
12
13
See the COPYING file for more details.
14
*/
15
16
/**
17
* @file
18
* Define the errors the server may send during the login procedure
19
*/
20
21
#pragma once
22
23
#define MP_MUST_LOGIN "100"
24
#define MP_NAME_TAKEN_ERROR "101"
25
#define MP_INVALID_CHARS_IN_NAME_ERROR "102"
26
#define MP_NAME_TOO_LONG_ERROR "103"
27
#define MP_NAME_RESERVED_ERROR "104"
28
#define MP_NAME_UNREGISTERED_ERROR "105"
29
#define MP_NAME_INACTIVE_WARNING "106"
30
#define MP_NAME_AUTH_BAN_USER_ERROR "107"
31
#define MP_NAME_AUTH_BAN_IP_ERROR "108"
32
#define MP_NAME_AUTH_BAN_EMAIL_ERROR "109"
33
#define MP_SERVER_IP_BAN_ERROR "110"
34
35
#define MP_PASSWORD_REQUEST "200"
36
#define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME "201"
37
#define MP_INCORRECT_PASSWORD_ERROR "203"
38
#define MP_TOO_MANY_ATTEMPTS_ERROR "204"
39
#define MP_HASHING_PASSWORD_FAILED "205"
Generated by
1.9.1