mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 15:50:20 +00:00
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:
parent
e68ffbc711
commit
a1edddd1f0
4 changed files with 16 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue