mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-20 22:27:50 -04:00
Classic 1.12 and TBC 2.4.3 send SMSG_TEXT_EMOTE with the field order: textEmoteId(u32) + emoteNum(u32) + senderGuid(u64) + nameLen(u32) + name WotLK 3.3.5a swapped senderGuid to the front: senderGuid(u64) + textEmoteId(u32) + emoteNum(u32) + nameLen(u32) + name The previous TextEmoteParser always used the WotLK order, causing senderGuid to be read as a mashup of textEmoteId+emoteNum for Classic/TBC. Emote animations and chat entries were associated with wrong GUIDs. TextEmoteParser::parse now takes a legacyFormat parameter; handleTextEmote passes it based on expansion detection.