My Project
Libraries
Network
Packets
Structures
EndGame.hpp
1
/*
2
** EPITECH PROJECT, 2022
3
** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4
** File description:
5
** EndGame
6
*/
7
8
#ifndef ENDGAME_HPP_
9
#define ENDGAME_HPP_
10
14
struct
packet_end_game
{
15
int
lobbyId
;
16
bool
status
;
17
};
18
19
#endif
/* !ENDGAME_HPP_ */
packet_end_game
A packet to tell the server that a client want to end the game in a certain lobby.
Definition:
EndGame.hpp:14
packet_end_game::status
bool status
Boolean to know if the game is lost or winned. true : win, false : lost.
Definition:
EndGame.hpp:16
packet_end_game::lobbyId
int lobbyId
Id of the.
Definition:
EndGame.hpp:15
Generated by
1.8.17