SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Enumerations
AuthDBSyncEvents.h File Reference
#include "Servers/InternalEvents.h"
#include <QDateTime>
Include dependency graph for AuthDBSyncEvents.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CreateAccountData
 
struct  AuthDbErrorData
 
struct  RetrieveAccountResponseData
 
struct  RetrieveAccountRequestData
 
struct  ValidatePasswordRequestData
 
struct  ValidatePasswordResponseData
 

Macros

#define ONE_WAY_MESSAGE(name)
 
#define SIMPLE_TWO_WAY_MESSAGE(name)
 A message without Request having additional data. More...
 
#define TWO_WAY_MESSAGE(name)
 A message with Request having additional data. More...
 

Enumerations

enum  AuthDBEventTypes : uint32_t {
  evRetrieveAccountRequest = Internal_EventTypes::evLAST_EVENT, evRetrieveAccountResponse, evValidatePasswordRequest, evValidatePasswordResponse,
  evCreateAccount, evAuthDbError
}
 

Macro Definition Documentation

#define ONE_WAY_MESSAGE (   name)
Value:
struct name ## Message final : public InternalEvent\
{\
name ## Data m_data;\
name ## Message(name ## Data &&d) : InternalEvent(AuthDBEventTypes::ev ## name),m_data(d) {}\
};
AuthDBEventTypes
Definition: AuthDBSyncEvents.h:14
Definition: InternalEvents.h:39
#define SIMPLE_TWO_WAY_MESSAGE (   name)
Value:
struct name ## Request final : public InternalEvent\
{\
name ## Message(uint64_t token) : InternalEvent(AuthDBEventTypes::ev ## name ## Request) {session_token(token);}\
};\
struct name ## Response final : public InternalEvent\
{\
name ## Data m_data;\
name ## Response(name ## Data &&d,uint64_t token) : InternalEvent(AuthDBEventTypes::ev ## name ## Response),m_data(d) {session_token(token);}\
};
AuthDBEventTypes
Definition: AuthDBSyncEvents.h:14
Definition: InternalEvents.h:39
uint64_t session_token() const
Definition: InternalEvents.h:46

A message without Request having additional data.

#define TWO_WAY_MESSAGE (   name)
Value:
struct name ## Request final : public InternalEvent\
{\
name ## RequestData m_data;\
name ## Request(name ## RequestData &&d,uint64_t token) : InternalEvent(AuthDBEventTypes::ev ## name ## Request),m_data(d) {session_token(token);}\
};\
struct name ## Response final : public InternalEvent\
{\
name ## ResponseData m_data;\
name ## Response(name ## ResponseData &&d,uint64_t token) : InternalEvent(AuthDBEventTypes::ev ## name ## Response),m_data(d) {session_token(token);}\
};
AuthDBEventTypes
Definition: AuthDBSyncEvents.h:14
Definition: InternalEvents.h:39
uint64_t session_token() const
Definition: InternalEvents.h:46

A message with Request having additional data.

Enumeration Type Documentation

enum AuthDBEventTypes : uint32_t
Enumerator
evRetrieveAccountRequest 
evRetrieveAccountResponse 
evValidatePasswordRequest 
evValidatePasswordResponse 
evCreateAccount 
evAuthDbError