mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 13:16:39 +00:00
[Performance] Wearchange Packet Send Deduplication (#4916)
* [Performance] Wearchange Packet Send Deduplication * Update mob_appearance.cpp * Reduce one allocation * Update mob_appearance.cpp * Change * Update mob_appearance.cpp * Update mob_appearance.cpp * Update mob_appearance.cpp * Update mob_appearance.cpp * Update mob_appearance.cpp * Wut * ffs
This commit is contained in:
@@ -208,6 +208,10 @@ public:
|
||||
Timer m_see_close_mobs_timer;
|
||||
Timer m_mob_check_moving_timer;
|
||||
|
||||
uint16 m_last_wearchange_race_id = 0;
|
||||
// client_id -> slot_id -> key
|
||||
std::unordered_map<uint32_t, std::unordered_map<uint8_t, uint64_t>> m_last_seen_wearchange;
|
||||
|
||||
// Bot attack flag
|
||||
Timer bot_attack_flag_timer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user