This interface defines what goes into a CTP message.
class INetMessage : public INetSendable;
INetwork.h
Gets the message definition - a static structure describing this message.
inline const SNetMessageDef * GetDef() const;
virtual const char * GetDescription();
virtual void GetPositionInfo(SMessagePositionInfo& pos);
virtual ENetReliabilityType GetReliability();
INetMessage(const SNetMessageDef * pDef);
void ResetMessageDef(const SNetMessageDef * pDef);
virtual EMessageSendResult Send(INetSender * pSender);
Writes the packets payload to a stream (possibly using the pSerialize helper).
virtual EMessageSendResult WritePayload(TSerialize ser, uint32 nCurrentSeq, uint32 nBasisSeq) = 0;