struct SNetMessageDef { HandlerType handler; const char * description; ENetReliabilityType reliability; uint32 nUser; uint32 parallelFlags; struct ComparePointer { }; };
INetwork.h
This structure describes the meta-data we need to be able to dispatch/handle a message.
struct ComparePointer { };
INetwork.h
bool operator ()(const SNetMessageDef * p1, const SNetMessageDef * p2);
const char * description;
HandlerType handler;
uint32 nUser;
uint32 parallelFlags;
ENetReliabilityType reliability;
bool CheckParallelFlag(EMessageParallelFlags flag) const;
typedef TNetMessageCallbackResult (* HandlerType)(uint32 nUser, INetMessageSink*, TSerialize, uint32 curSeq, uint32 oldSeq, EntityId* pRmiObject, INetChannel * pChannel);