Core/Dungeon Finder: Multiple changes in Join function
- Reformat some code to make it easier to read - Safe leave and rejoin queue when already queued and trying to rejoin to different dungeons (it was giving error earlier) - Do not allow to select another dungeon while im the middle of a Lfg dungeon not completed (any dungeon selected is changed by current dungeon) - Fix error that prevented groups to join another dungeon after completing the current lfg dungeon Core/Dungeon Finder: Remove references to player from SendLfgUpdateParty and SendLfgUpdatePlayer handlers --HG-- branch : trunk
This commit is contained in:
@@ -730,12 +730,12 @@ class WorldSession
|
||||
void HandleLfrSearchOpcode(WorldPacket &recv_data);
|
||||
void HandleLfrLeaveOpcode(WorldPacket &recv_data);
|
||||
|
||||
void SendLfgUpdatePlayer(uint8 updateType);
|
||||
void SendLfgUpdateParty(uint8 updateType);
|
||||
void SendLfgUpdatePlayer(uint8 updateType, std::set<uint32>* dungeons = NULL, std::string comment = "");
|
||||
void SendLfgUpdateParty(uint8 updateType, std::set<uint32>* dungeons = NULL, std::string comment = "");
|
||||
void SendLfgRoleChosen(uint64 guid, uint8 roles);
|
||||
void SendLfgRoleCheckUpdate(LfgRoleCheck *pRoleCheck);
|
||||
void SendLfgUpdateSearch(bool update);
|
||||
void SendLfgJoinResult(uint8 checkResult, uint8 checkValue = 0, std::map<uint32, std::set<LfgLockStatus*>*> *playersLockMap = NULL /* LfgLockStatusMap *playersLockMap = NULL */);
|
||||
void SendLfgJoinResult(uint8 checkResult, uint8 checkValue = 0, std::map<uint32, std::set<LfgLockStatus*>*> *playersLockMap = NULL);
|
||||
void SendLfgQueueStatus(uint32 dungeon, int32 waitTime, int32 avgWaitTime, int32 waitTimeTanks, int32 waitTimeHealer, int32 waitTimeDps, uint32 queuedTime, uint8 tanks, uint8 healers, uint8 dps);
|
||||
void SendLfgPlayerReward(uint32 rdungeonEntry, uint32 sdungeonEntry, uint8 done, const LfgReward *reward, const Quest *qRew);
|
||||
void SendLfgBootPlayer(LfgPlayerBoot *pBoot);
|
||||
|
||||
Reference in New Issue
Block a user