SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Functions
MessageHelpers.cpp File Reference
#include "MessageHelpers.h"
#include "DataHelpers.h"
#include "EntityStorage.h"
#include "EntityUpdateCodec.h"
#include "MapClientSession.h"
#include "MapInstance.h"
#include "Common/GameData/CommonNetStructures.h"
#include "Common/GameData/CharacterHelpers.h"
#include "Common/GameData/Movement.h"
#include "Common/GameData/map_definitions.h"
#include "Common/GameData/playerdata_definitions.h"
#include "Messages/Map/ChatMessage.h"
#include "Messages/Map/InfoMessageCmd.h"
#include "Messages/Map/EntitiesResponse.h"
#include "Common/GameData/Character.h"
#include "Logging.h"
#include <glm/gtx/string_cast.hpp>
Include dependency graph for MessageHelpers.cpp:

Functions

void sendChatMessage (MessageChannel t, const QString &msg, Entity *e, MapClientSession &tgt)
 
void sendInfoMessage (MessageChannel t, const QString &msg, MapClientSession &tgt)
 
void storeEntityResponseCommands (BitStream &bs, float time_of_day)
 
void storeEntityResponseOtherEntities (BitStream &tgt, EntityManager &manager, MapClientSession *self, bool incremental, bool debug)
 
void storeServerPhysicsPositions (BitStream &bs, Entity *self)
 
void storeServerControlState (BitStream &bs, Entity *self)
 
void storeControlState (BitStream &bs, Entity *self)
 
void storeEntityRemovals (BitStream &bs, EntityManager &manager, MapClientSession *self)
 
void storeClientData (BitStream &bs, Entity *ent, bool incremental)
 
void storeFollowupCommands (BitStream &bs, MapClientSession *m_client)
 
void buildEntityResponse (EntitiesResponse *res, MapClientSession &to_client, EntityUpdateMode mode, bool use_debug)
 

Function Documentation

◆ buildEntityResponse()

void buildEntityResponse ( EntitiesResponse res,
MapClientSession to_client,
EntityUpdateMode  mode,
bool  use_debug 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendChatMessage()

void sendChatMessage ( MessageChannel  t,
const QString &  msg,
Entity e,
MapClientSession tgt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendInfoMessage()

void sendInfoMessage ( MessageChannel  t,
const QString &  msg,
MapClientSession tgt 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeClientData()

void storeClientData ( BitStream bs,
Entity ent,
bool  incremental 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeControlState()

void storeControlState ( BitStream bs,
Entity self 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeEntityRemovals()

void storeEntityRemovals ( BitStream bs,
EntityManager manager,
MapClientSession self 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeEntityResponseCommands()

void storeEntityResponseCommands ( BitStream bs,
float  time_of_day 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeEntityResponseOtherEntities()

void storeEntityResponseOtherEntities ( BitStream tgt,
EntityManager manager,
MapClientSession self,
bool  incremental,
bool  debug 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeFollowupCommands()

void storeFollowupCommands ( BitStream bs,
MapClientSession m_client 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeServerControlState()

void storeServerControlState ( BitStream bs,
Entity self 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeServerPhysicsPositions()

void storeServerPhysicsPositions ( BitStream bs,
Entity self 
)
Here is the call graph for this function:
Here is the caller graph for this function: