News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

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.