My Project
CNetworkId.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** CNetworkId
6 */
7 
8 #ifndef CNETWORKID_HPP_
9  #define CNETWORKID_HPP_
10 
14 namespace component {
18  struct cnetwork_id_t {
19  int id;
20  };
21 }
22 
23 #endif /* !CNETWORKID_HPP_ */
component
Namespace for all components.
Definition: CDamage.hpp:14
component::cnetwork_id_t
A strucure representing in the ECS the id of a client in the network.
Definition: CNetworkId.hpp:18
component::cnetwork_id_t::id
int id
id representing index of client in network endpoints map
Definition: CNetworkId.hpp:19