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

# tnlNetEvent.h File Reference

`#include "tnlNetBase.h"`

## Namespaces

namespace | TNL

## Data Structures

class | TNL::NetEvent
| An event to be sent over the network. More...

## 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.