SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
AuthSession Struct Reference

#include <AuthHandler.h>

Collaboration diagram for AuthSession:
Collaboration graph

Public Types

enum  eClientState {
  CLIENT_DISCONNECTED =0, CLIENT_EXPECTED, NOT_LOGGED_IN, LOGGED_IN,
  CLIENT_CONNECTED
}
 

Public Member Functions

uint32_t auth_id () const
 
void set_temporary (bool v)
 
bool is_temporary () const
 
AuthLinklink ()
 
void link (AuthLink *l)
 

Public Attributes

std::unique_ptr
< RetrieveAccountResponseData
m_auth_data
 
uint32_t m_auth_id =0
 
eClientState m_state = NOT_LOGGED_IN
 
uint32_t is_connected_to_game_server_id =0
 

Protected Attributes

AuthLinkm_link = nullptr
 

Member Enumeration Documentation

Enumerator
CLIENT_DISCONNECTED 
CLIENT_EXPECTED 
NOT_LOGGED_IN 
LOGGED_IN 
CLIENT_CONNECTED 

Member Function Documentation

uint32_t AuthSession::auth_id ( ) const
inline
bool AuthSession::is_temporary ( ) const
inline
AuthLink* AuthSession::link ( )
inline

Here is the caller graph for this function:

void AuthSession::link ( AuthLink l)
inline
Note
setting the link does not preserver the state of the previous one.
void AuthSession::set_temporary ( bool  v)
inline

Member Data Documentation

uint32_t AuthSession::is_connected_to_game_server_id =0
std::unique_ptr<RetrieveAccountResponseData> AuthSession::m_auth_data
uint32_t AuthSession::m_auth_id =0
AuthLink* AuthSession::m_link = nullptr
protected
eClientState AuthSession::m_state = NOT_LOGGED_IN

The documentation for this struct was generated from the following file: