cache loaded player files between sessions

This commit is contained in:
Martin Michelsen
2023-12-04 12:38:26 -08:00
parent e05dcb6e70
commit 01b83044dc
8 changed files with 148 additions and 11 deletions
+2 -1
View File
@@ -17,7 +17,7 @@
using namespace std;
ServerState::ServerState(const string& config_filename, bool is_replay)
ServerState::ServerState(shared_ptr<struct event_base> base, const string& config_filename, bool is_replay)
: config_filename(config_filename),
is_replay(is_replay),
dns_server_port(0),
@@ -42,6 +42,7 @@ ServerState::ServerState(const string& config_filename, bool is_replay)
ep3_card_auction_points(0),
ep3_card_auction_min_size(0),
ep3_card_auction_max_size(0),
player_files_manager(make_shared<PlayerFilesManager>(base)),
next_lobby_id(1),
pre_lobby_event(0),
ep3_menu_song(-1),