My Project
Lobbies.hpp
1 /*
2 ** EPITECH PROJECT, 2022
3 ** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4 ** File description:
5 ** Lobbys
6 */
7 
8 #ifndef LOBBIES_HPP_
9  #define LOBBIES_HPP_
10 
11  #include <cstring>
12  #include <vector>
13 
18  int id;
19 };
20 
29 };
30 
35  int id;
36 };
37 
42  int id;
43 };
44 
49  int nbPlayers;
50 };
51 
52 #endif /* !LOBBIES_HPP_ */
packet_join_lobby
A packet to tell the server you want to join a room.
Definition: Lobbies.hpp:41
packet_send_lobbies
A packet to send the content of lobbys.
Definition: Lobbies.hpp:24
packet_nb_players_in_lobby
A packet to tell the server you want to join a room.
Definition: Lobbies.hpp:48
packet_send_lobbies::nbPlayersLobbyOne
int nbPlayersLobbyOne
Number of players in first lobby.
Definition: Lobbies.hpp:26
packet_send_lobbies::nbOfLobbies
int nbOfLobbies
Number of lobbies in Server.
Definition: Lobbies.hpp:25
packet_join_lobby::id
int id
Id of lobby to join.
Definition: Lobbies.hpp:42
packet_send_lobbies::nbPlayersLobbyTwo
int nbPlayersLobbyTwo
Number of players in second lobby.
Definition: Lobbies.hpp:27
packet_get_lobbies
A packet to get the different lobbys from newtork.
Definition: Lobbies.hpp:17
packet_send_lobbies::nbPlayersLobbyThree
int nbPlayersLobbyThree
Number of players in third lobby.
Definition: Lobbies.hpp:28
packet_create_lobby
A packet to create a lobby.
Definition: Lobbies.hpp:34
packet_nb_players_in_lobby::nbPlayers
int nbPlayers
Number of player in lobby.
Definition: Lobbies.hpp:49