My Project
Main Page
Namespaces
Namespace List
Namespace Members
All
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Related Functions
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Friends
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