OpenClonk
C4Network2.cpp File Reference
#include "C4Include.h"
#include "C4ForbidLibraryCompilation.h"
#include "network/C4Network2.h"
#include "C4Version.h"
#include "control/C4GameControl.h"
#include "control/C4GameSave.h"
#include "control/C4RoundResults.h"
#include "editor/C4Console.h"
#include "game/C4Application.h"
#include "game/C4GraphicsSystem.h"
#include "graphics/C4Draw.h"
#include "graphics/C4GraphicsResource.h"
#include "gui/C4GameLobby.h"
#include "network/C4Network2Dialogs.h"
#include "network/C4League.h"
#include "network/C4HTTP.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
Include dependency graph for C4Network2.cpp:

Go to the source code of this file.

Macros

#define GETPKT(type, name)
 
#define GETPKT(c)   dynamic_cast<C4NetpuncherPacket##c*>(pkt.get())
 

Macro Definition Documentation

◆ GETPKT [1/2]

#define GETPKT (   c)    dynamic_cast<C4NetpuncherPacket##c*>(pkt.get())

◆ GETPKT [2/2]

#define GETPKT (   type,
  name 
)
Value:
assert(pPacket); const type &name = \
static_cast<const type &>(*pPacket);