My Project
Public Attributes | List of all members
component::cnetwork_queue_t Struct Reference

A structure representing the queue use by the ECS to send the request to the server. More...

#include <CNetworkQueue.hpp>

Public Attributes

std::queue< std::pair< int, std::vector< byte > > > receivedNetworkQueue
 Queue containing received vector of bytes representing request sent by the clients.
 
std::queue< std::pair< int, std::vector< byte > > > toSendNetworkQueue
 Queue containing vector of bytes representing request to send to clients.
 
std::queue< std::pair< int, packet_move > > moveQueue
 Queue containing move requests from clients.
 
std::queue< std::pair< int, packet_shoot > > shootQueue
 Queue containing shoot requests from clients.
 
std::queue< std::pair< int, packet_new_connection > > newPlayerQueue
 Queue containing new connection requests from clients.
 
std::queue< std::pair< int, packet_disconnection > > disconnectionQueue
 Queue containing disconnection requests from clients.
 
std::queue< std::pair< int, packet_join_lobby > > joinLobbyQueue
 Queue containing join lobby requests from clients.
 
std::queue< std::pair< int, packet_start_game > > startGameQueue
 Queue containing start game requests from clients.
 
std::queue< std::vector< byte > > receivedNetworkQueue
 Queue containing received vector of bytes representing request sent by the clients.
 
std::queue< std::vector< byte > > toSendNetworkQueue
 Queue containing vector of bytes representing request to send to clients.
 
std::queue< packet_new_entity > newEntityQueue
 Queue containing new entity requests from server.
 
std::queue< packet_position > updatePositionQueue
 Queue containing position requests from server.
 
std::queue< packet_nb_players_in_lobby > nbPlayerInLobbyQueue
 Queue containing number of players in lobby requests from server.
 
std::queue< packet_kill_entity > killEntityQueue
 Queue containing kill entity requests from server.
 
std::queue< packet_kill_entity_type > killEntityTypeQueue
 Queue containing kill entity type requests from server.
 
std::queue< packet_send_lobbies > getLobbiesQueue
 Queue containing send lobbies requests from server.
 
std::queue< packet_new_connection_response > newConnectionResponseQueue
 Queue containing new connection response requests from server.
 
std::queue< packet_update_entity_health > updateEntityHealthQueue
 Queue containing update entity healt requests from server.
 
std::queue< packet_update_entity_score > updateEntityScoreQueue
 Queue containing update entity score requests from server.
 
std::queue< packet_end_game > endGameQueue
 Queue containing end game requests from server.
 
std::queue< packet_new_level > newLevelQueue
 Queue containing new level update from the server.
 

Detailed Description

A structure representing the queue use by the ECS to send the request to the server.


The documentation for this struct was generated from the following file: