My Project
Server
Source
Component
CNetIdToClientId.hpp
1
/*
2
** EPITECH PROJECT, 2022
3
** Visual Studio Live Share (Workspace)
4
** File description:
5
** CNetIdToClientId
6
*/
7
8
#ifndef CNETIDTOCLIENTID_HPP_
9
#define CNETIDTOCLIENTID_HPP_
10
11
#include <unordered_map>
12
#include "Entity.hpp"
13
17
namespace
component
{
21
struct
cnet_id_to_client_id_t
{
22
std::unordered_map<int, Entity>
netIdToClientId
;
23
};
24
}
25
26
#endif
/* !CNETIDTOCLIENTID_HPP_ */
component::cnet_id_to_client_id_t
A structure representing the network id corresponding to the client id.
Definition:
CNetIdToClientId.hpp:21
component
Namespace for all components.
Definition:
CDamage.hpp:14
component::cnet_id_to_client_id_t::netIdToClientId
std::unordered_map< int, Entity > netIdToClientId
map containing equivalent of the network id to the Entity id of clients
Definition:
CNetIdToClientId.hpp:22
Generated by
1.8.17