ManaPlus
src
enums
state.h
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2004-2009 The Mana World Development Team
4
* Copyright (C) 2009-2010 The Mana Developers
5
* Copyright (C) 2011-2019 The ManaPlus Developers
6
* Copyright (C) 2019-2021 Andrei Karas
7
*
8
* This file is part of The ManaPlus Client.
9
*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License
21
* along with this program. If not, see <http://www.gnu.org/licenses/>.
22
*/
23
24
#ifndef ENUMS_STATE_H
25
#define ENUMS_STATE_H
26
27
#include "
enums/simpletypes/enumdefines.h
"
28
29
#ifdef WIN32
30
#undef ERROR
31
#endif
// WIN32
32
33
enumStart
(
State
)
34
{
35
ERROR
= -1,
36
START
,
37
CHOOSE_SERVER
,
38
CONNECT_SERVER
,
39
PRE_LOGIN
,
40
LOGIN
,
41
LOGIN_ATTEMPT
,
42
WORLD_SELECT
,
// 5
43
WORLD_SELECT_ATTEMPT
,
44
UPDATE
,
45
LOAD_DATA
,
46
GET_CHARACTERS
,
47
CHAR_SELECT
,
// 10
48
CONNECT_GAME
,
49
GAME
,
50
CHANGE_MAP
,
// Switch map-server/gameserver
51
LOGIN_ERROR
,
52
ACCOUNTCHANGE_ERROR
,
// 15
53
REGISTER_PREP
,
54
REGISTER
,
55
REGISTER_ATTEMPT
,
56
CHANGEPASSWORD
,
57
CHANGEPASSWORD_ATTEMPT
,
// 20
58
CHANGEPASSWORD_SUCCESS
,
59
CHANGEEMAIL
,
60
CHANGEEMAIL_ATTEMPT
,
61
CHANGEEMAIL_SUCCESS
,
62
SWITCH_SERVER
,
63
SWITCH_LOGIN
,
64
SWITCH_CHARACTER
,
// 30
65
LOGOUT_ATTEMPT
,
66
WAIT
,
67
EXIT
,
68
FORCE_QUIT
,
69
AUTORECONNECT_SERVER
= 1000
70
}
71
enumEnd
(
State
);
72
73
#endif
// ENUMS_STATE_H
enumdefines.h
enumStart
#define enumStart(name)
Definition:
enumdefines.h:36
enumEnd
#define enumEnd(name)
Definition:
enumdefines.h:46
State
Definition:
state.h:33
State::REGISTER_PREP
@ REGISTER_PREP
Definition:
state.h:53
State::CHANGE_MAP
@ CHANGE_MAP
Definition:
state.h:50
State::CHANGEPASSWORD
@ CHANGEPASSWORD
Definition:
state.h:56
State::START
@ START
Definition:
state.h:36
State::CHANGEEMAIL_ATTEMPT
@ CHANGEEMAIL_ATTEMPT
Definition:
state.h:60
State::WAIT
@ WAIT
Definition:
state.h:66
State::REGISTER_ATTEMPT
@ REGISTER_ATTEMPT
Definition:
state.h:55
State::CHAR_SELECT
@ CHAR_SELECT
Definition:
state.h:47
State::LOGIN_ERROR
@ LOGIN_ERROR
Definition:
state.h:51
State::ACCOUNTCHANGE_ERROR
@ ACCOUNTCHANGE_ERROR
Definition:
state.h:52
State::CHOOSE_SERVER
@ CHOOSE_SERVER
Definition:
state.h:37
State::WORLD_SELECT_ATTEMPT
@ WORLD_SELECT_ATTEMPT
Definition:
state.h:43
State::GAME
@ GAME
Definition:
state.h:49
State::UPDATE
@ UPDATE
Definition:
state.h:44
State::LOGIN_ATTEMPT
@ LOGIN_ATTEMPT
Definition:
state.h:41
State::FORCE_QUIT
@ FORCE_QUIT
Definition:
state.h:68
State::LOGOUT_ATTEMPT
@ LOGOUT_ATTEMPT
Definition:
state.h:65
State::CHANGEEMAIL_SUCCESS
@ CHANGEEMAIL_SUCCESS
Definition:
state.h:61
State::SWITCH_SERVER
@ SWITCH_SERVER
Definition:
state.h:62
State::WORLD_SELECT
@ WORLD_SELECT
Definition:
state.h:42
State::CONNECT_GAME
@ CONNECT_GAME
Definition:
state.h:48
State::GET_CHARACTERS
@ GET_CHARACTERS
Definition:
state.h:46
State::LOAD_DATA
@ LOAD_DATA
Definition:
state.h:45
State::PRE_LOGIN
@ PRE_LOGIN
Definition:
state.h:39
State::CHANGEEMAIL
@ CHANGEEMAIL
Definition:
state.h:59
State::SWITCH_LOGIN
@ SWITCH_LOGIN
Definition:
state.h:63
State::CHANGEPASSWORD_ATTEMPT
@ CHANGEPASSWORD_ATTEMPT
Definition:
state.h:57
State::SWITCH_CHARACTER
@ SWITCH_CHARACTER
Definition:
state.h:64
State::ERROR
@ ERROR
Definition:
state.h:35
State::CONNECT_SERVER
@ CONNECT_SERVER
Definition:
state.h:38
State::AUTORECONNECT_SERVER
@ AUTORECONNECT_SERVER
Definition:
state.h:69
State::EXIT
@ EXIT
Definition:
state.h:67
State::LOGIN
@ LOGIN
Definition:
state.h:40
State::REGISTER
@ REGISTER
Definition:
state.h:54
State::CHANGEPASSWORD_SUCCESS
@ CHANGEPASSWORD_SUCCESS
Definition:
state.h:58
Generated on Wed Mar 17 2021 19:19:05 for ManaPlus by
1.9.1