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 | Friends | List of all members
MapClientSession Struct Reference

#include <MapClientSession.h>

Collaboration diagram for MapClientSession:
Collaboration graph

Public Types

using mNetCommands = std::map< int, NetCommand * >
 
using vBelief = std::map< int, ClientEntityStateBelief >
 
using vStoredCommands = std::vector< std::unique_ptr< GameCommand >>
 

Public Member Functions

void addCommandToSendNextUpdate (std::unique_ptr< GameCommand > &&v)
 
void AddShortcut (int index, NetCommand *command)
 
uint32_t auth_id () const
 
void reset ()
 
void set_temporary (bool v)
 
bool is_temporary () const
 
MapLinklink ()
 
void link (MapLink *l)
 

Public Attributes

uint32_t m_client_id = 0
 
uint8_t m_access_level = 0
 
uint16_t m_requested_slot_idx =0
 
uint16_t m_max_slots
 
mNetCommands m_shortcuts
 
vStoredCommands m_contents
 
MapInstancem_current_map = nullptr
 
Entitym_ent = nullptr
 
QString m_name
 
SEGSTimerm_tick_source = nullptr
 
vBelief m_worldstate_belief
 
bool m_in_map = false
 
uint32_t is_connected_to_map_server_id = 0
 
uint32_t is_connected_to_map_instance_id = 0
 

Protected Attributes

MapLinkm_link = nullptr
 

Friends

class CharacterDatabase
 

Member Typedef Documentation

using MapClientSession::mNetCommands = std::map<int, NetCommand *>
using MapClientSession::vStoredCommands = std::vector<std::unique_ptr<GameCommand>>

Member Function Documentation

void MapClientSession::addCommandToSendNextUpdate ( std::unique_ptr< GameCommand > &&  v)
inline

Here is the caller graph for this function:

void MapClientSession::AddShortcut ( int  index,
NetCommand command 
)
inline

Here is the caller graph for this function:

uint32_t MapClientSession::auth_id ( ) const
inline
bool MapClientSession::is_temporary ( ) const
inline
MapLink* MapClientSession::link ( )
inline

Here is the caller graph for this function:

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

Friends And Related Function Documentation

friend class CharacterDatabase
friend

Member Data Documentation

uint32_t MapClientSession::is_connected_to_map_instance_id = 0
uint32_t MapClientSession::is_connected_to_map_server_id = 0
uint8_t MapClientSession::m_access_level = 0
uint32_t MapClientSession::m_client_id = 0
vStoredCommands MapClientSession::m_contents
MapInstance* MapClientSession::m_current_map = nullptr
Entity* MapClientSession::m_ent = nullptr
bool MapClientSession::m_in_map = false
MapLink* MapClientSession::m_link = nullptr
protected
uint16_t MapClientSession::m_max_slots
QString MapClientSession::m_name
uint16_t MapClientSession::m_requested_slot_idx =0
mNetCommands MapClientSession::m_shortcuts
SEGSTimer* MapClientSession::m_tick_source = nullptr
vBelief MapClientSession::m_worldstate_belief

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