8 #ifndef CNETWORKQUEUE_HPP_
9 #define CNETWORKQUEUE_HPP_
14 #include "NewEntity.hpp"
15 #include "Structures/Position.hpp"
16 #include "Lobbies.hpp"
17 #include "KillEntity.hpp"
18 #include "NewConnection.hpp"
19 #include "UpdateEntityInfos.hpp"
20 #include "EndGame.hpp"
21 #include "UpdateEntityInfos.hpp"
22 #include "NewLevel.hpp"
24 using byte =
unsigned char;
33 struct cnetwork_queue_t {
std::queue< packet_kill_entity > killEntityQueue
Queue containing kill entity requests from server.
Definition: CNetworkQueue.hpp:40
std::queue< packet_update_entity_score > updateEntityScoreQueue
Queue containing update entity score requests from server.
Definition: CNetworkQueue.hpp:45
std::queue< packet_end_game > endGameQueue
Queue containing end game requests from server.
Definition: CNetworkQueue.hpp:46
Namespace for all components.
Definition: CDamage.hpp:14
std::queue< packet_kill_entity_type > killEntityTypeQueue
Queue containing kill entity type requests from server.
Definition: CNetworkQueue.hpp:41
std::queue< packet_position > updatePositionQueue
Queue containing position requests from server.
Definition: CNetworkQueue.hpp:38
std::queue< std::vector< byte > > toSendNetworkQueue
Queue containing vector of bytes representing request to send to clients.
Definition: CNetworkQueue.hpp:35
std::queue< packet_new_entity > newEntityQueue
Queue containing new entity requests from server.
Definition: CNetworkQueue.hpp:37
std::queue< std::vector< byte > > receivedNetworkQueue
Queue containing received vector of bytes representing request sent by the clients.
Definition: CNetworkQueue.hpp:34
std::queue< packet_new_level > newLevelQueue
Queue containing new level update from the server.
Definition: CNetworkQueue.hpp:47
std::queue< packet_send_lobbies > getLobbiesQueue
Queue containing send lobbies requests from server.
Definition: CNetworkQueue.hpp:42
std::queue< packet_update_entity_health > updateEntityHealthQueue
Queue containing update entity healt requests from server.
Definition: CNetworkQueue.hpp:44
std::queue< packet_nb_players_in_lobby > nbPlayerInLobbyQueue
Queue containing number of players in lobby requests from server.
Definition: CNetworkQueue.hpp:39
std::queue< packet_new_connection_response > newConnectionResponseQueue
Queue containing new connection response requests from server.
Definition: CNetworkQueue.hpp:43