implement battle tables

This commit is contained in:
Martin Michelsen
2022-12-14 20:37:34 -08:00
parent 0b17b7174f
commit fa95a2f6d8
7 changed files with 231 additions and 127 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ struct Lobby : public std::enable_shared_from_this<Lobby> {
std::shared_ptr<const Quest> loading_quest;
std::array<std::shared_ptr<Client>, 12> clients;
// Keys in this map are client_id
std::unordered_map<size_t, std::weak_ptr<Client>> tournament_clients_to_add;
std::unordered_map<size_t, std::weak_ptr<Client>> clients_to_add;
explicit Lobby(uint32_t id);