IRMIMessageBody

This class defines a remote procedure call message.

C++
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;
};
File

INetwork.h

IRMIMessageBody::attachment Data Member
C++
const ERMIAttachmentType attachment;
IRMIMessageBody::dependentId Data Member
C++
const EntityId dependentId;
IRMIMessageBody::funcId Data Member
C++
const uint8 funcId;
IRMIMessageBody::objId Data Member
C++
const EntityId objId;
IRMIMessageBody::pListener Data Member
C++
IRMIListener * pListener;
IRMIMessageBody::pMessageDef Data Member
C++
const SNetMessageDef * pMessageDef;
Description

Can optionally set this to send a defined message instead of a script style function.

IRMIMessageBody::reliability Data Member
C++
const ENetReliabilityType reliability;
IRMIMessageBody::userId Data Member
C++
const int userId;
Description

These two define a listening interface for really advance user stuff.

IRMIMessageBody::~IRMIMessageBody Destructor
C++
virtual ~IRMIMessageBody();
IRMIMessageBody::AddRef Method
C++
void AddRef();
IRMIMessageBody::GetSize Method
C++
virtual size_t GetSize() = 0;
IRMIMessageBody::IRMIMessageBody Constructor (ENetReliabilityType, ERMIAttachmentType, EntityId, SNetMessageDef *, IRMIListener *, int, EntityId)
C++
IRMIMessageBody(ENetReliabilityType reliability_, ERMIAttachmentType attachment_, EntityId objId_, const SNetMessageDef * pMessageDef_, IRMIListener * pListener_, int userId_, EntityId dependentId_);
IRMIMessageBody::IRMIMessageBody Constructor (ENetReliabilityType, ERMIAttachmentType, EntityId, uint8, IRMIListener *, int, EntityId)
C++
IRMIMessageBody(ENetReliabilityType reliability_, ERMIAttachmentType attachment_, EntityId objId_, uint8 funcId_, IRMIListener * pListener_, int userId_, EntityId dependentId_);
IRMIMessageBody::Release Method
C++
void Release();
IRMIMessageBody::SerializeWith Method
C++
virtual void SerializeWith(TSerialize ser) = 0;