mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Classic 1.12 and TBC use SMSG_FRIEND_LIST (not SMSG_CONTACT_LIST) to send the initial friend list at login. Previously this packet was silently dropped, leaving friendsCache empty and breaking /friend remove and note operations for Classic players. - Add handleFriendList(): parses Classic format (u8 count, then per-entry: u64 guid + u8 status + optional area/level/class if online) - Add handleContactList(): fully parses WotLK SMSG_CONTACT_LIST entries (previously only read mask+count header and dropped all entries) - Both handlers populate friendGuids_ and call queryPlayerName() for unknown GUIDs; handleNameQueryResponse() now backfills friendsCache when a name resolves for a known friend GUID - Clear friendGuids_ on disconnect alongside playerNameCache |
||
|---|---|---|
| .. | ||
| character.hpp | ||
| entity.hpp | ||
| expansion_profile.hpp | ||
| game_handler.hpp | ||
| group_defines.hpp | ||
| inventory.hpp | ||
| opcode_aliases_generated.inc | ||
| opcode_enum_generated.inc | ||
| opcode_names_generated.inc | ||
| opcode_table.hpp | ||
| opcodes.hpp | ||
| packet_parsers.hpp | ||
| player.hpp | ||
| spell_defines.hpp | ||
| transport_manager.hpp | ||
| update_field_table.hpp | ||
| warden_crypto.hpp | ||
| warden_emulator.hpp | ||
| warden_memory.hpp | ||
| warden_module.hpp | ||
| world.hpp | ||
| world_packets.hpp | ||
| zone_manager.hpp | ||