small things

This commit is contained in:
2024-07-20 00:54:43 +02:00
parent 3eb3eadd4b
commit 998dc7ea2e
4 changed files with 6 additions and 5 deletions

View File

@@ -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&);