8 #ifndef NEWCLIENTSYSTEM_HPP_
9 #define NEWCLIENTSYSTEM_HPP_
12 #include "Registry.hpp"
15 #include "Component/CNetIdToClientId.hpp"
16 #include "Component/CNetworkId.hpp"
17 #include "Component/CNetworkQueue.hpp"
18 #include "Component/CLobbiesToEntities.hpp"
19 #include "Component/CNetworkQueue.hpp"
void operator()(Registry ®istry, Sparse_array< component::cnetwork_queue_t > &netqueue, Sparse_array< component::cnet_id_to_client_id_t > &netIdToClientId, Sparse_array< component::clobbies_to_entities_t > &lobbiesToEntities)
Function that will be automaticaly called while the client is working (on loop)
Definition: NewClientSystem.cpp:27
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
Namespace for systems.
Definition: DirectionSystem.hpp:24
NewClientSystem()
Construct a new New Client System object.
Definition: NewClientSystem.cpp:24
Class that handle ECS.
Definition: Registry.hpp:22
void sendLobbiesStatus(int clientId, Sparse_array< component::cnetwork_queue_t > &networkQueue, Sparse_array< component::clobbies_to_entities_t > &lobbiesToEntities)
Function that send lobbies status to network queue.
Definition: NewClientSystem.cpp:51
NewClientSystem class that handles the new client.
Definition: NewClientSystem.hpp:28