My Project
Server
Source
Component
CLobbiesStatus.hpp
1
/*
2
** EPITECH PROJECT, 2022
3
** B-CPP-500-PAR-5-1-rtype-martin.vanaud
4
** File description:
5
** CLobbyStatus
6
*/
7
8
#ifndef CLOBBYSTATUS_HPP_
9
#define CLOBBYSTATUS_HPP_
10
11
#include <unordered_map>
12
16
namespace
component
{
20
struct
clobbies_status_t
{
21
std::unordered_map<int, std::pair<bool, int>>
lobbiesStatus
;
22
};
23
}
24
25
#endif
/* !CLOBBYSTATUS_HPP_ */
component
Namespace for all components.
Definition:
CDamage.hpp:14
component::clobbies_status_t
A structure representing the status of every lobby component that holds the status of every lobby.
Definition:
CLobbiesStatus.hpp:20
component::clobbies_status_t::lobbiesStatus
std::unordered_map< int, std::pair< bool, int > > lobbiesStatus
A map that makes correspond an id of lobby to a boolean status : 0 : not in a game,...
Definition:
CLobbiesStatus.hpp:21
Generated by
1.8.17