speed up quest loading

This commit is contained in:
Martin Michelsen
2024-05-27 10:00:04 -07:00
parent a686d81d4c
commit 5df98fb691
3 changed files with 41 additions and 37 deletions
+2
View File
@@ -21,6 +21,8 @@ extern const std::unordered_set<uint32_t> v2_crypt_initial_client_commands;
extern const std::unordered_set<uint32_t> v3_crypt_initial_client_commands;
extern const std::unordered_set<std::string> bb_crypt_initial_client_commands;
constexpr size_t GC_QUEST_LOAD_MAX_CHUNKS_IN_FLIGHT = 4;
// TODO: Many of these functions should take a Channel& instead of a
// shared_ptr<Client>. Refactor functions appropriately.