My Project
Public Member Functions | List of all members
System::EndGameSystem Class Reference

The End Game System class, it handles the end of the game of lobbies. More...

#include <EndGameSystem.hpp>

Public Member Functions

 EndGameSystem ()
 Construct a new End Game System object.
 
void operator() (Registry &registry, Sparse_array< component::cnetwork_queue_t > &network_queues, Sparse_array< component::ctype_t > &type, Sparse_array< component::clobby_id_t > &lobbyIds, Sparse_array< component::clobbies_status_t > &lobbiesStatus, Sparse_array< component::cmap_t > &map)
 The main handler for the End Game System. More...
 
 EndGameSystem ()
 Construct a new End Game System object.
 
void operator() (Registry &registry, Sparse_array< component::cnetwork_queue_t > &network_queues, Sparse_array< component::csceneid_t > &sceneId, Sparse_array< component::cref_t > &refs, Sparse_array< component::ctext_t > &texts)
 The main handler for the End Game System. More...
 

Detailed Description

The End Game System class, it handles the end of the game of lobbies.

Member Function Documentation

◆ operator()() [1/2]

void System::EndGameSystem::operator() ( Registry registry,
Sparse_array< component::cnetwork_queue_t > &  network_queues,
Sparse_array< component::csceneid_t > &  sceneId,
Sparse_array< component::cref_t > &  refs,
Sparse_array< component::ctext_t > &  texts 
)

The main handler for the End Game System.

Parameters
registryThe registry that contains all the ECS
network_queuesThe sparse array of network entities
typeThe Sparse array of type of entities
lobbyIdsThe Sparse array of lobby id of entities

◆ operator()() [2/2]

void System::EndGameSystem::operator() ( Registry registry,
Sparse_array< component::cnetwork_queue_t > &  network_queues,
Sparse_array< component::ctype_t > &  type,
Sparse_array< component::clobby_id_t > &  lobbyIds,
Sparse_array< component::clobbies_status_t > &  lobbiesStatus,
Sparse_array< component::cmap_t > &  map 
)

The main handler for the End Game System.

Parameters
registryThe registry that contains all the ECS
network_queuesThe sparse array of network entities
typeThe Sparse array of type of entities
lobbyIdsThe Sparse array of lobby id of entities

The documentation for this class was generated from the following files: