My Project
UpdateEntityInfos.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** UpdateEntityInfos
6 */
7 
8 #ifndef UPDATEENTITYINFOS_HPP_
9 #define UPDATEENTITYINFOS_HPP_
10 
16  int entityId;
17  int health;
18 };
19 
25  int entityId;
26  int score;
27 };
28 
29 #endif /* !UPDATEENTITYINFOS_HPP_ */
packet_update_entity_health::health
int health
Health of the entity.
Definition: UpdateEntityInfos.hpp:17
packet_update_entity_health::entityId
int entityId
Id of the entity to update.
Definition: UpdateEntityInfos.hpp:16
packet_update_entity_score::score
int score
Score of the entity.
Definition: UpdateEntityInfos.hpp:26
packet_update_entity_score::entityId
int entityId
Id of the entity to update.
Definition: UpdateEntityInfos.hpp:25
packet_update_entity_score
A packet to update the score of an entity.
Definition: UpdateEntityInfos.hpp:24
packet_update_entity_health
A packet to update the life of an entity.
Definition: UpdateEntityInfos.hpp:15