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

@ -2550,6 +2550,11 @@ void Application::setupUICallbacks() {
}
});
// Open dungeon finder callback — server sends SMSG_OPEN_LFG_DUNGEON_FINDER
gameHandler->setOpenLfgCallback([this]() {
if (uiManager) uiManager->getGameScreen().openDungeonFinder();
});
// Creature move callback (online mode) - update creature positions
gameHandler->setCreatureMoveCallback([this](uint64_t guid, float x, float y, float z, uint32_t durationMs) {
if (!renderer || !renderer->getCharacterRenderer()) return;