My Project
GetLobbiesSystem.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** GetLobbiesSystem
6 */
7 
8 #ifndef GETLOBBIESSYSTEM_HPP_
9  #define GETLOBBIESSYSTEM_HPP_
10 
11  /* Ecs */
12  #include "Registry.hpp"
13 
14  /* Component */
15  #include "Component/CNetworkQueue.hpp"
16  #include "Component/CRef.hpp"
17  #include "Component/CText.hpp"
18 
22 namespace System {
27  public:
32  ~GetLobbiesSystem() = default;
33 
42  void operator()(
43  Registry &registry,
47  );
48 
49  protected:
50  private:
51  };
52 }
53 
54 #endif /* !GETLOBBIESSYSTEM_HPP_ */
Sparse_array
Class that handle Element of type Component like a vector which can be holed.
Definition: SparseArray.hpp:22
System
Namespace for systems.
Definition: DirectionSystem.hpp:24
Registry
Class that handle ECS.
Definition: Registry.hpp:22
System::GetLobbiesSystem
GetLobbiesSystem class that handles the request to send to Server to get lobbies.
Definition: GetLobbiesSystem.hpp:26
System::GetLobbiesSystem::operator()
void operator()(Registry &registry, Sparse_array< component::cnetwork_queue_t > &networkQueue, Sparse_array< component::cref_t > &refs, Sparse_array< component::ctext_t > &texts)
Function that will be automaticaly called while the client is working (on loop)
Definition: GetLobbiesSystem.cpp:29
System::GetLobbiesSystem::GetLobbiesSystem
GetLobbiesSystem()
Construct the Lobbies System object.
Definition: GetLobbiesSystem.cpp:16