multiplayer_error_codes.hpp

Go to the documentation of this file.
00001 /* $Id: multiplayer_error_codes.hpp 52533 2012-01-07 02:35:17Z shadowmaster $ */
00002 /*
00003    Copyright (C) 2009 - 2012 by Thomas Baumhauer <thomas.baumhauer@NOSPAMgmail.com>
00004    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY.
00012 
00013    See the COPYING file for more details.
00014 */
00015 
00016 /**
00017  * @file
00018  * Define the errors the server may send during the login procedure
00019  */
00020 
00021 #ifndef MULTIPLAYER_ERROR_CODES_HPP_INCLUDED
00022 #define MULTIPLAYER_ERROR_CODES_HPP_INCLUDED
00023 
00024 #define MP_MUST_LOGIN                   "100"
00025 #define MP_NAME_TAKEN_ERROR             "101"
00026 #define MP_INVALID_CHARS_IN_NAME_ERROR          "102"
00027 #define MP_NAME_TOO_LONG_ERROR              "103"
00028 #define MP_NAME_RESERVED_ERROR              "104"
00029 #define MP_NAME_UNREGISTERED_ERROR          "105"
00030 #define MP_NAME_INACTIVE_WARNING            "106"
00031 
00032 #define MP_PASSWORD_REQUEST             "200"
00033 #define MP_PASSWORD_REQUEST_FOR_LOGGED_IN_NAME      "201"
00034 #define MP_NO_SEED_ERROR                "202"
00035 #define MP_INCORRECT_PASSWORD_ERROR         "203"
00036 #define MP_TOO_MANY_ATTEMPTS_ERROR          "204"
00037 
00038 #endif // MULTIPLAYER_ERROR_CODES_HPP_INCLUDES
00039 
00040 
00041 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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