i6engine  1.0
i6e::api::network::Network_ChatMessage Struct Reference

sends a text message to other subscribers More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/NetworkConfig.h>

Public Member Functions

 Network_ChatMessage ()
 
 Network_ChatMessage (const std::string &t)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
Network_ChatMessagecopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

std::string text
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

sends a text message to other subscribers

Definition at line 141 of file NetworkConfig.h.

Constructor & Destructor Documentation

i6e::api::network::Network_ChatMessage::Network_ChatMessage ( )
inline

Definition at line 143 of file NetworkConfig.h.

i6e::api::network::Network_ChatMessage::Network_ChatMessage ( const std::string &  t)

Member Function Documentation

Network_ChatMessage* i6e::api::network::Network_ChatMessage::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 151 of file NetworkConfig.h.

template<class Archive >
void i6e::api::network::Network_ChatMessage::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Definition at line 147 of file NetworkConfig.h.

Member Data Documentation

std::string i6e::api::network::Network_ChatMessage::text

Definition at line 142 of file NetworkConfig.h.


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