My Project
KillEntity.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** KillEntity
6 */
7 
8 #ifndef KILLENTITY_HPP_
9  #define KILLENTITY_HPP_
10 
11  #include <cstdint>
12 
17  int id;
18 };
19 
24  int type;
25 };
26 
27 #endif /* !KILLENTITY_HPP_ */
packet_kill_entity
A packet to handle the killing of an entity.
Definition: KillEntity.hpp:16
packet_kill_entity::id
int id
Id of the entity to kill (this is the server Id of the Entity)
Definition: KillEntity.hpp:17
packet_kill_entity_type::type
int type
Id of the type of entity to kill.
Definition: KillEntity.hpp:24
packet_kill_entity_type
A packet to handle the killing of type of entity.
Definition: KillEntity.hpp:23