root/trunk/src/trinityrealm/AuthCodes.h @ 9

Revision 2, 4.0 kB (checked in by yumileroy, 17 years ago)

[svn] * Proper SVN structure

Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00

Line 
1/*
2 * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17 */
18
19/** \file
20    \ingroup realmd
21*/
22
23#ifndef _AUTHCODES_H
24#define _AUTHCODES_H
25
26enum eAuthResults
27{
28    REALM_AUTH_SUCCESS              = 0x00,
29    REALM_AUTH_FAILURE              = 0x01,                 ///< Unable to connect
30    REALM_AUTH_UNKNOWN1             = 0x02,                 ///< Unable to connect
31    REALM_AUTH_ACCOUNT_BANNED       = 0x03,                 ///< This <game> account has been closed and is no longer available for use. Please go to <site>/banned.html for further information.
32    REALM_AUTH_NO_MATCH             = 0x04,                 ///< The information you have entered is not valid. Please check the spelling of the account name and password. If you need help in retrieving a lost or stolen password, see <site> for more information
33    REALM_AUTH_UNKNOWN2             = 0x05,                 ///< The information you have entered is not valid. Please check the spelling of the account name and password. If you need help in retrieving a lost or stolen password, see <site> for more information
34    REALM_AUTH_ACCOUNT_IN_USE       = 0x06,                 ///< This account is already logged into <game>. Please check the spelling and try again.
35    REALM_AUTH_PREPAID_TIME_LIMIT   = 0x07,                 ///< You have used up your prepaid time for this account. Please purchase more to continue playing
36    REALM_AUTH_SERVER_FULL          = 0x08,                 ///< Could not log in to <game> at this time. Please try again later.
37    REALM_AUTH_WRONG_BUILD_NUMBER   = 0x09,                 ///< Unable to validate game version. This may be caused by file corruption or interference of another program. Please visit <site> for more information and possible solutions to this issue.
38    REALM_AUTH_UPDATE_CLIENT        = 0x0a,                 ///< Downloading
39    REALM_AUTH_UNKNOWN3             = 0x0b,                 ///< Unable to connect
40    REALM_AUTH_ACCOUNT_FREEZED      = 0x0c,                 ///< This <game> account has been temporarily suspended. Please go to <site>/banned.html for further information
41    REALM_AUTH_UNKNOWN4             = 0x0d,                 ///< Unable to connect
42    REALM_AUTH_UNKNOWN5             = 0x0e,                 ///< Connected.
43    REALM_AUTH_PARENTAL_CONTROL     = 0x0f                  ///< Access to this account has been blocked by parental controls. Your settings may be changed in your account preferences at <site>
44};
45
46enum LoginResult
47{
48    LOGIN_OK                = 0x00,
49    LOGIN_FAILED            = 0x01,
50    LOGIN_FAILED2           = 0x02,
51    LOGIN_BANNED            = 0x03,
52    LOGIN_UNKNOWN_ACCOUNT   = 0x04,
53    LOGIN_UNKNOWN_ACCOUNT3  = 0x05,
54    LOGIN_ALREADYONLINE     = 0x06,
55    LOGIN_NOTIME            = 0x07,
56    LOGIN_DBBUSY            = 0x08,
57    LOGIN_BADVERSION        = 0x09,
58    LOGIN_DOWNLOAD_FILE     = 0x0A,
59    LOGIN_FAILED3           = 0x0B,
60    LOGIN_SUSPENDED         = 0x0C,
61    LOGIN_FAILED4           = 0x0D,
62    LOGIN_CONNECTED         = 0x0E,
63    LOGIN_PARENTALCONTROL   = 0x0F,
64    LOGIN_LOCKED_ENFORCED   = 0x10,
65};
66
67// we need to stick to 1 version or half of the stuff will work for someone
68// others will not and opposite
69// will only support WoW and WoW:TBC 2.4.3 client build 8606...
70
71#define EXPECTED_MANGOS_CLIENT_BUILD        {8606, 0}
72
73#endif
Note: See TracBrowser for help on using the browser.