mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: add map name lookups and improve instance/RAF/misc feedback
- Add getMapName() helper backed by Map.dbc (parallel to getAreaName) - SMSG_RAID_INSTANCE_MESSAGE: show dungeon name instead of raw map ID - SMSG_INSTANCE_RESET: show dungeon name instead of raw map ID - SMSG_INSTANCE_RESET_FAILED: show dungeon name instead of raw map ID - SMSG_EQUIPMENT_SET_SAVED: show "Equipment set saved." confirmation - SMSG_PROPOSE_LEVEL_GRANT: show mentor name offering a level grant (RAF) - SMSG_REFER_A_FRIEND_EXPIRED: show link-expired message - SMSG_REFER_A_FRIEND_FAILURE: show reason-mapped error message - SMSG_REPORT_PVP_AFK_RESULT: show success/failure feedback - SMSG_QUEST_CONFIRM_ACCEPT: add playerNameCache fallback for sharer name
This commit is contained in:
parent
28ce441214
commit
2c72d8462d
2 changed files with 107 additions and 12 deletions
|
|
@ -2971,6 +2971,12 @@ private:
|
|||
bool areaNameCacheLoaded_ = false;
|
||||
void loadAreaNameCache();
|
||||
std::string getAreaName(uint32_t areaId) const;
|
||||
|
||||
// Map name cache (lazy-loaded from Map.dbc; maps mapId → localized display name)
|
||||
std::unordered_map<uint32_t, std::string> mapNameCache_;
|
||||
bool mapNameCacheLoaded_ = false;
|
||||
void loadMapNameCache();
|
||||
std::string getMapName(uint32_t mapId) const;
|
||||
std::vector<TrainerTab> trainerTabs_;
|
||||
void handleTrainerList(network::Packet& packet);
|
||||
void loadSpellNameCache();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue