This class defines a remote procedure call message.
struct IRMIMessageBody { const ENetReliabilityType reliability; const ERMIAttachmentType attachment; const EntityId objId; const EntityId dependentId; const uint8 funcId; const SNetMessageDef * pMessageDef; const int userId; IRMIListener * pListener; };
INetwork.h
const ERMIAttachmentType attachment;
const EntityId dependentId;
const uint8 funcId;
const EntityId objId;
IRMIListener * pListener;
const SNetMessageDef * pMessageDef;
Can optionally set this to send a defined message instead of a script style function.
const ENetReliabilityType reliability;
const int userId;
These two define a listening interface for really advance user stuff.
virtual ~IRMIMessageBody();
void AddRef();
virtual size_t GetSize() = 0;
IRMIMessageBody(ENetReliabilityType reliability_, ERMIAttachmentType attachment_, EntityId objId_, const SNetMessageDef * pMessageDef_, IRMIListener * pListener_, int userId_, EntityId dependentId_);
IRMIMessageBody(ENetReliabilityType reliability_, ERMIAttachmentType attachment_, EntityId objId_, uint8 funcId_, IRMIListener * pListener_, int userId_, EntityId dependentId_);
void Release();
virtual void SerializeWith(TSerialize ser) = 0;