mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
feat: display LFG dungeon name in DungeonFinder UI status banner
Extend the LFGDungeons.dbc name lookup to the Dungeon Finder window UI: - Queued state: "In queue for Culling of Stratholme (1:23)" - Proposal state: "Group found for Halls of Lightning!" - InDungeon state: "In dungeon (Utgarde Pinnacle)" - FinishedDungeon state: "Culling of Stratholme complete" - Proposal accept banner: "A group has been found for <dungeon>!" All states fall back gracefully when DBC name is unavailable.
This commit is contained in:
parent
ed02f5872a
commit
75139aca77
2 changed files with 35 additions and 9 deletions
|
|
@ -1274,6 +1274,7 @@ public:
|
|||
bool isLfgQueued() const { return lfgState_ == LfgState::Queued; }
|
||||
bool isLfgInDungeon() const { return lfgState_ == LfgState::InDungeon; }
|
||||
uint32_t getLfgDungeonId() const { return lfgDungeonId_; }
|
||||
std::string getCurrentLfgDungeonName() const { return getLfgDungeonName(lfgDungeonId_); }
|
||||
uint32_t getLfgProposalId() const { return lfgProposalId_; }
|
||||
int32_t getLfgAvgWaitSec() const { return lfgAvgWaitSec_; }
|
||||
uint32_t getLfgTimeInQueueMs() const { return lfgTimeInQueueMs_; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue