|
My Project
|
NewClientSystem class that handles the new client. More...
#include <NewClientSystem.hpp>
Public Member Functions | |
| NewClientSystem () | |
| Construct a new New Client System object. | |
| 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) More... | |
| 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. More... | |
NewClientSystem class that handles the new client.
| void System::NewClientSystem::operator() | ( | Registry & | registry, |
| 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)
| registry | Registry of the client |
| netqueue | The sparse array of network entities |
| netIdToClientId | The sparse array of netIdToClientId entities |
| lobbiesToEntities | The sparse array of lobbiesToEntities entities |
| void System::NewClientSystem::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.
| clientId | The sparse array of clientId entities |
| networkQueue | The sparse array of network entities |
| lobbiesToEntities | The sparse array of lobbiesToEntities entities |
1.8.17