NetworkSystem class that handles the communication using queues with the server to send it tasks as packets.
More...
#include <NetworkSystem.hpp>
|
| NetworkSystem () |
| Construct a new Network System object.
|
|
void | operator() (Registry ®istry, Sparse_array< component::cnetwork_queue_t > &network) |
| Function that will be automaticaly called while the client is working (on loop) More...
|
|
void | dispatchToPositionQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the position queue. More...
|
|
void | dispatchToNewEntityQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the new entity queue. More...
|
|
void | dispatchToKillEntityQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the kill entity queue. More...
|
|
void | dispatchToKillEntityTypeQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the kill entity type queue. More...
|
|
void | dispatchToGetLobbiesQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the get lobbies queue. More...
|
|
void | dispatchNbPlayersInLobbyQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the Nb Players in queue. More...
|
|
void | dispatchNetworkClientIdQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the network client id queue. More...
|
|
void | dispatchUpdateEntityHealthQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the update entity health queue. More...
|
|
void | dispatchUpdateEntityScoreQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the update entity score queue. More...
|
|
void | dispatchNewLevelQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the new level queue. More...
|
|
void | dispatchEndGameQueue (std::vector< byte > const &bytes, Sparse_array< component::cnetwork_queue_t > &network) |
| A method to send informations to the end Game queue. More...
|
|
NetworkSystem class that handles the communication using queues with the server to send it tasks as packets.
◆ dispatchEndGameQueue()
A method to send informations to the end Game queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchNbPlayersInLobbyQueue()
A method to send informations to the Nb Players in queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchNetworkClientIdQueue()
A method to send informations to the network client id queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchNewLevelQueue()
A method to send informations to the new level queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchToGetLobbiesQueue()
A method to send informations to the get lobbies queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchToKillEntityQueue()
A method to send informations to the kill entity queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchToKillEntityTypeQueue()
A method to send informations to the kill entity type queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchToNewEntityQueue()
A method to send informations to the new entity queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchToPositionQueue()
A method to send informations to the position queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchUpdateEntityHealthQueue()
A method to send informations to the update entity health queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ dispatchUpdateEntityScoreQueue()
A method to send informations to the update entity score queue.
- Parameters
-
bytes | The bytes to send |
network | The sparse array of network entities |
◆ operator()()
Function that will be automaticaly called while the client is working (on loop)
- Parameters
-
registry | The registry of the client |
network | The sparse array of network entities |
The documentation for this class was generated from the following files:
- /home/gurvan-le-letty/delivery/epitech_delivery/semester_5/B-CPP-500/B-CPP-500-PAR-5-1-rtype-martin.vanaud/Client/Source/System/NetworkSystem/NetworkSystem.hpp
- /home/gurvan-le-letty/delivery/epitech_delivery/semester_5/B-CPP-500/B-CPP-500-PAR-5-1-rtype-martin.vanaud/Client/Source/System/NetworkSystem/NetworkSystem.cpp