feat: open dungeon finder UI when server sends SMSG_OPEN_LFG_DUNGEON_FINDER

Previously SMSG_OPEN_LFG_DUNGEON_FINDER was consumed silently with no UI
response. Now it fires an OpenLfgCallback wired to openDungeonFinder() on
the GameScreen, so the dungeon finder window opens as the server requests.
This commit is contained in:
Kelsi 2026-03-12 21:24:42 -07:00
parent e68ffbc711
commit a1edddd1f0
4 changed files with 16 additions and 1 deletions

View file

@ -5133,10 +5133,14 @@ void GameHandler::handlePacket(network::Packet& packet) {
case Opcode::SMSG_UPDATE_LFG_LIST:
case Opcode::SMSG_LFG_PLAYER_INFO:
case Opcode::SMSG_LFG_PARTY_INFO:
case Opcode::SMSG_OPEN_LFG_DUNGEON_FINDER:
// Informational LFG packets not yet surfaced in UI — consume silently.
packet.setReadPos(packet.getSize());
break;
case Opcode::SMSG_OPEN_LFG_DUNGEON_FINDER:
// Server requests client to open the dungeon finder UI
packet.setReadPos(packet.getSize()); // consume any payload
if (openLfgCallback_) openLfgCallback_();
break;
case Opcode::SMSG_ARENA_TEAM_COMMAND_RESULT:
handleArenaTeamCommandResult(packet);