add event management to server shell

This commit is contained in:
Martin Michelsen
2020-02-21 10:20:04 -08:00
parent 1b5a4fe4ee
commit de63349b5d
8 changed files with 391 additions and 162 deletions
+1
View File
@@ -52,6 +52,7 @@ struct ServerState {
std::map<int64_t, std::shared_ptr<Lobby>> id_to_lobby;
std::atomic<int32_t> next_lobby_id;
uint8_t pre_lobby_event;
std::map<std::string, uint32_t> all_addresses;
uint32_t local_address;