small things
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* \file EnetConnexion.h
|
||||
* \brief File containing the blitz::network::EnetConnexion class
|
||||
*/
|
||||
|
||||
#include <NazaraUtils/Signal.hpp>
|
||||
#include <blitz/protocol/PacketSerializer.h>
|
||||
#include <blitz/protocol/Packets.h>
|
||||
|
||||
namespace Nz {
|
||||
|
||||
@@ -21,7 +25,7 @@ class EnetServer;
|
||||
#define DeclarePacket(PacketName, ...) \
|
||||
/** Sends a PacketName over the network */ \
|
||||
void Send##PacketName(const blitz::protocol::data::PacketName& a_##PacketName) const; \
|
||||
/** Use On##PacketName.Connect() to process a PacketName incoming from network */ \
|
||||
/** Use On##PacketName.Connect() to process a PacketName incoming from network */ \
|
||||
NazaraSignal(On##PacketName, const blitz::protocol::data::PacketName&);
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
#include <Nazara/Network/ENetHost.hpp>
|
||||
#include <blitz/common/NonCopyable.h>
|
||||
#include <blitz/network/EnetConnexion.h>
|
||||
#include <blitz/protocol/Packets.h>
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <thread>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
* \brief File containing the blitz::protocol::PacketVisitor class
|
||||
*/
|
||||
|
||||
#include <blitz/protocol/PacketDeclare.h>
|
||||
#include <blitz/protocol/Packets.h>
|
||||
|
||||
namespace blitz {
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#include <blitz/protocol/PacketData.h>
|
||||
#include <blitz/protocol/PacketDeclare.h>
|
||||
#include <string>
|
||||
|
||||
namespace blitz {
|
||||
namespace protocol {
|
||||
|
||||
Reference in New Issue
Block a user