R-Type  2
Doom but in better
Loading...
Searching...
No Matches
MessageType.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2024
3** rtype (Workspace)
4** File description:
5** MessageType.hpp
6*/
7
14#pragma once
15
16#include <cstdint>
17
18namespace GUI
19{
20 namespace Network
21 {
29 enum class MessageType : uint8_t {
30 P_CONNECT = 1,
31 P_DISCONNECT = 2,
32 P_MOVE = 3,
33 P_SHOOT = 4,
34 P_SPAWN = 5,
35 P_KILL = 6,
36 P_DAMAGE = 7,
37 P_STATUS = 8,
38 P_HANDSHAKE = 254,
39 P_ERROR = 255
40 };
41 }
42}
MessageType
Enum for the different message types in the UDP protocol.