ManaPlus
Enumerations
State Namespace Reference

Enumerations

enum  T {
  ERROR = -1 , START , CHOOSE_SERVER , CONNECT_SERVER ,
  PRE_LOGIN , LOGIN , LOGIN_ATTEMPT , WORLD_SELECT ,
  WORLD_SELECT_ATTEMPT , UPDATE , LOAD_DATA , GET_CHARACTERS ,
  CHAR_SELECT , CONNECT_GAME , GAME , CHANGE_MAP ,
  LOGIN_ERROR , ACCOUNTCHANGE_ERROR , REGISTER_PREP , REGISTER ,
  REGISTER_ATTEMPT , CHANGEPASSWORD , CHANGEPASSWORD_ATTEMPT , CHANGEPASSWORD_SUCCESS ,
  CHANGEEMAIL , CHANGEEMAIL_ATTEMPT , CHANGEEMAIL_SUCCESS , SWITCH_SERVER ,
  SWITCH_LOGIN , SWITCH_CHARACTER , LOGOUT_ATTEMPT , WAIT ,
  EXIT , FORCE_QUIT , AUTORECONNECT_SERVER = 1000
}
 

Enumeration Type Documentation

◆ T

enum State::T
Enumerator
ERROR 
START 
CHOOSE_SERVER 
CONNECT_SERVER 
PRE_LOGIN 
LOGIN 
LOGIN_ATTEMPT 
WORLD_SELECT 
WORLD_SELECT_ATTEMPT 
UPDATE 
LOAD_DATA 
GET_CHARACTERS 
CHAR_SELECT 
CONNECT_GAME 
GAME 
CHANGE_MAP 
LOGIN_ERROR 
ACCOUNTCHANGE_ERROR 
REGISTER_PREP 
REGISTER 
REGISTER_ATTEMPT 
CHANGEPASSWORD 
CHANGEPASSWORD_ATTEMPT 
CHANGEPASSWORD_SUCCESS 
CHANGEEMAIL 
CHANGEEMAIL_ATTEMPT 
CHANGEEMAIL_SUCCESS 
SWITCH_SERVER 
SWITCH_LOGIN 
SWITCH_CHARACTER 
LOGOUT_ATTEMPT 
WAIT 
EXIT 
FORCE_QUIT 
AUTORECONNECT_SERVER 

Definition at line 33 of file state.h.

34 {
35  ERROR = -1,
36  START,
39  PRE_LOGIN,
40  LOGIN,
42  WORLD_SELECT, // 5
44  UPDATE,
45  LOAD_DATA,
47  CHAR_SELECT, // 10
49  GAME,
50  CHANGE_MAP, // Switch map-server/gameserver
52  ACCOUNTCHANGE_ERROR, // 15
54  REGISTER,
64  SWITCH_CHARACTER, // 30
66  WAIT,
67  EXIT,
68  FORCE_QUIT,
70 }
@ REGISTER_PREP
Definition: state.h:53
@ CHANGE_MAP
Definition: state.h:50
@ CHANGEPASSWORD
Definition: state.h:56
@ START
Definition: state.h:36
@ CHANGEEMAIL_ATTEMPT
Definition: state.h:60
@ WAIT
Definition: state.h:66
@ REGISTER_ATTEMPT
Definition: state.h:55
@ CHAR_SELECT
Definition: state.h:47
@ LOGIN_ERROR
Definition: state.h:51
@ ACCOUNTCHANGE_ERROR
Definition: state.h:52
@ CHOOSE_SERVER
Definition: state.h:37
@ WORLD_SELECT_ATTEMPT
Definition: state.h:43
@ GAME
Definition: state.h:49
@ UPDATE
Definition: state.h:44
@ LOGIN_ATTEMPT
Definition: state.h:41
@ FORCE_QUIT
Definition: state.h:68
@ LOGOUT_ATTEMPT
Definition: state.h:65
@ CHANGEEMAIL_SUCCESS
Definition: state.h:61
@ SWITCH_SERVER
Definition: state.h:62
@ WORLD_SELECT
Definition: state.h:42
@ CONNECT_GAME
Definition: state.h:48
@ GET_CHARACTERS
Definition: state.h:46
@ LOAD_DATA
Definition: state.h:45
@ PRE_LOGIN
Definition: state.h:39
@ CHANGEEMAIL
Definition: state.h:59
@ SWITCH_LOGIN
Definition: state.h:63
@ CHANGEPASSWORD_ATTEMPT
Definition: state.h:57
@ SWITCH_CHARACTER
Definition: state.h:64
@ ERROR
Definition: state.h:35
@ CONNECT_SERVER
Definition: state.h:38
@ AUTORECONNECT_SERVER
Definition: state.h:69
@ EXIT
Definition: state.h:67
@ LOGIN
Definition: state.h:40
@ REGISTER
Definition: state.h:54
@ CHANGEPASSWORD_SUCCESS
Definition: state.h:58