SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
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< SEGSEvents::RetrieveAccountResponseDatam_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

◆ eClientState

Enumerator
CLIENT_DISCONNECTED 
CLIENT_EXPECTED 
NOT_LOGGED_IN 
LOGGED_IN 
CLIENT_CONNECTED 

Member Function Documentation

◆ auth_id()

uint32_t AuthSession::auth_id ( ) const
inline

◆ is_temporary()

bool AuthSession::is_temporary ( ) const
inline

◆ link() [1/2]

AuthLink* AuthSession::link ( )
inline
Here is the caller graph for this function:

◆ link() [2/2]

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

◆ set_temporary()

void AuthSession::set_temporary ( bool  v)
inline

Member Data Documentation

◆ is_connected_to_game_server_id

uint32_t AuthSession::is_connected_to_game_server_id =0

◆ m_auth_data

std::unique_ptr<SEGSEvents::RetrieveAccountResponseData> AuthSession::m_auth_data

◆ m_auth_id

uint32_t AuthSession::m_auth_id =0

◆ m_link

AuthLink* AuthSession::m_link = nullptr
protected

◆ m_state

eClientState AuthSession::m_state = NOT_LOGGED_IN

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