R-Type
1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
Packets.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2023
3
** Packets.hpp
4
** File description:
5
** Packets.hpp
6
*/
7
8
#ifndef R_TYPE_PACKETS_HPP
9
#define R_TYPE_PACKETS_HPP
10
16
#include "packets/tcp/client/C2SPlayerHandshake.hpp"
17
#include "packets/tcp/server/S2CPlayerAuthentified.hpp"
18
#include "packets/tcp/server/S2CPlayerScore.hpp"
19
#include "packets/udp/client/C2SClientConnect.hpp"
20
#include "packets/udp/client/C2SClientMove.hpp"
21
#include "packets/udp/client/C2SPlayerPrepareShoot.hpp"
22
#include "packets/udp/client/C2SPlayerReady.hpp"
23
#include "packets/udp/client/C2SPlayerShoot.hpp"
24
#include "packets/udp/client/C2SKillEntity.hpp"
25
#include "packets/udp/client/C2SKillPlayer.hpp"
26
#include "packets/udp/client/C2SSceneLoaded.hpp"
27
#include "packets/tcp/client/C2SClientDisconnecting.hpp"
28
#include "packets/udp/server/S2CClientConnected.hpp"
29
#include "packets/udp/server/S2CEntityMove.hpp"
30
#include "packets/udp/server/S2CEntitySpawn.hpp"
31
#include "packets/udp/server/S2CGameStarted.hpp"
32
#include "packets/udp/server/S2CPlayerChargingBullet.hpp"
33
#include "packets/udp/server/S2CPlayerMove.hpp"
34
#include "packets/udp/server/S2CPlayerShootBullet.hpp"
35
#include "packets/udp/server/S2CRemoveEntity.hpp"
36
#include "packets/udp/server/S2CRemovePlayer.hpp"
37
#include "packets/udp/server/S2CSpawnBullet.hpp"
38
#include "packets/udp/server/S2CSpawnPlayer.hpp"
39
#include "packets/udp/server/S2CSyncPlayer.hpp"
40
41
namespace
rtype::network::packet {
42
class
RegisterPacket
{
43
public
:
44
static
void
registerPackets(std::shared_ptr<sa::PacketRegistry> &udpRegistry, std::shared_ptr<sa::PacketRegistry> &tcpRegistry);
45
};
46
}
47
48
#endif
// R_TYPE_PACKETS_HPP
rtype::network::packet::RegisterPacket
Definition:
Packets.hpp:42
common
include
Packets.hpp
Generated by
1.9.5