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

#include <ChatMessage.h>

Inheritance diagram for ChatMessage:
Inheritance graph
Collaboration diagram for ChatMessage:
Collaboration graph

Public Member Functions

virtual ~ChatMessage ()=default
 ChatMessage (MessageChannel t, const QString &msg)
void serializeto (BitStream &bs) const override
void serializefrom (BitStream &src)
- Public Member Functions inherited from GameCommand
 GameCommand (uint32_t type)
virtual ~GameCommand ()=default
uint32_t type () const

Public Attributes

QString m_msg
MessageChannel m_channel_type
int m_source_player_id
int m_target_player_id
 __pad0__: required i64 source_id
 __pad1__: required i64 timestamp
 __pad2__: required string message

Constructor & Destructor Documentation

virtual ChatMessage::~ChatMessage ( )
ChatMessage::ChatMessage ( MessageChannel  t,
const QString &  msg 

Member Data Documentation

MessageChannel ChatMessage::m_channel_type
QString ChatMessage::m_msg
int ChatMessage::m_source_player_id
int ChatMessage::m_target_player_id

The documentation for this class was generated from the following files: