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
+3 -1
View File
@@ -3113,7 +3113,9 @@ static void on_E3_BB(shared_ptr<Client> c, uint16_t, uint32_t, string& data) {
return;
}
ClientGameData temp_gd;
auto s = c->require_server_state();
ClientGameData temp_gd(s->player_files_manager);
temp_gd.guild_card_number = c->license->serial_number;
temp_gd.bb_username = c->license->bb_username;
temp_gd.bb_character_index = cmd.character_index;