INetMessage

This interface defines what goes into a CTP message.

Class Hierarchy
C++
class INetMessage : public INetSendable;
File

INetwork.h

INetMessage::GetDef Method

Gets the message definition - a static structure describing this message.

C++
inline const SNetMessageDef * GetDef() const;
INetMessage::GetDescription Method
C++
virtual const char * GetDescription();
INetMessage::GetPositionInfo Method
C++
virtual void GetPositionInfo(SMessagePositionInfo& pos);
INetMessage::GetReliability Method
C++
virtual ENetReliabilityType GetReliability();
INetMessage::INetMessage Constructor
C++
INetMessage(const SNetMessageDef * pDef);
INetMessage::ResetMessageDef Method
C++
void ResetMessageDef(const SNetMessageDef * pDef);
INetMessage::Send Method
C++
virtual EMessageSendResult Send(INetSender * pSender);
INetMessage::WritePayload Method

Writes the packets payload to a stream (possibly using the pSerialize helper).

C++
virtual EMessageSendResult WritePayload(TSerialize ser, uint32 nCurrentSeq, uint32 nBasisSeq) = 0;