mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
lfg: implement CMSG_LFG_SET_BOOT_VOTE and vote-to-kick UI
CMSG_LFG_SET_BOOT_VOTE was defined in the opcode table but never sent. - Add GameHandler::lfgSetBootVote(bool) which sends the packet - Fix handleLfgBootProposalUpdate() to set lfgState_=Boot while the vote is in progress and return to InDungeon when it ends - Add Yes/No vote buttons to the Dungeon Finder window when in Boot state
This commit is contained in:
parent
acbfe99401
commit
8856af6b2d
3 changed files with 35 additions and 3 deletions
|
|
@ -944,6 +944,7 @@ public:
|
|||
void lfgJoin(uint32_t dungeonId, uint8_t roles);
|
||||
void lfgLeave();
|
||||
void lfgAcceptProposal(uint32_t proposalId, bool accept);
|
||||
void lfgSetBootVote(bool vote);
|
||||
void lfgTeleport(bool toLfgDungeon = true);
|
||||
LfgState getLfgState() const { return lfgState_; }
|
||||
bool isLfgQueued() const { return lfgState_ == LfgState::Queued; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue