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
GameSession Struct Reference

#include <GameHandler.h>

Collaboration diagram for GameSession:
Collaboration graph

Public Types

enum  eTravelDirection { EXITING_TO_MAP =0, EXITING_TO_LOGIN =1 }
 

Public Member Functions

uint32_t auth_id () const
 
void reset ()
 
void set_temporary (bool v)
 
bool is_temporary () const
 
GameLinklink ()
 
void link (GameLink *l)
 

Public Attributes

GameAccountResponseData m_game_account
 
uint32_t m_auth_account_id =0
 
uint32_t is_connected_to_map_server_id =0
 
uint32_t is_connected_to_map_instance_id =0
 
eTravelDirection m_direction
 
uint8_t m_access_level =0
 

Protected Attributes

GameLinkm_link = nullptr
 

Member Enumeration Documentation

Enumerator
EXITING_TO_MAP 
EXITING_TO_LOGIN 

Member Function Documentation

uint32_t GameSession::auth_id ( ) const
inline

Here is the caller graph for this function:

bool GameSession::is_temporary ( ) const
inline
GameLink* GameSession::link ( )
inline

Here is the caller graph for this function:

void GameSession::link ( GameLink l)
inline
Note
setting the link does not preserver the state of the previous one.
void GameSession::reset ( )
inline

Here is the caller graph for this function:

void GameSession::set_temporary ( bool  v)
inline

Member Data Documentation

uint32_t GameSession::is_connected_to_map_instance_id =0
uint32_t GameSession::is_connected_to_map_server_id =0
uint8_t GameSession::m_access_level =0
uint32_t GameSession::m_auth_account_id =0
eTravelDirection GameSession::m_direction
GameAccountResponseData GameSession::m_game_account
GameLink* GameSession::m_link = nullptr
protected

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