Main Page Modules Namespaces C++ Classes Compound List File List Index
tnlNetEvent.h File Reference

tnlNetEvent.h File Reference

#include "tnlNetBase.h"

Namespaces

namespace  TNL

Defines

#define TNL_IMPLEMENT_NETEVENT(className, groupMask, classVersion)
 The IMPLEMENT_NETEVENT macro is used for implementing events that can be sent from server to client or from client to server.


Define Documentation

#define TNL_IMPLEMENT_NETEVENT className,
groupMask,
classVersion   ) 
 

Value:

TNL::NetClassRep* className::getClassRep() const { return &className::dynClassRep; } \
   TNL::NetClassRepInstance<className> className::dynClassRep(#className,groupMask, TNL::NetClassTypeEvent, classVersion)
The IMPLEMENT_NETEVENT macro is used for implementing events that can be sent from server to client or from client to server.