Core/Dungeon Finder: Minor optimization in handler code
Note: LfgDungeonSet and LfgLockStatusMap were being used without using the existing typedef (to avoid including LFGMgr.h). Now those functions use a struct as param that is forward declared so still LFGMgr.h is not needed and redefinition of LfgDungeonSet/LfgLockStatusMap is removed. --HG-- branch : trunk
This commit is contained in:
@@ -48,12 +48,13 @@ class CharacterHandler;
|
||||
class SpellCastTargets;
|
||||
struct AreaTableEntry;
|
||||
struct GM_Ticket;
|
||||
struct LfgJoinResultData;
|
||||
struct LfgLockStatus;
|
||||
struct LfgPlayerBoot;
|
||||
struct LfgProposal;
|
||||
struct LfgReward;
|
||||
struct LfgRoleCheck;
|
||||
|
||||
struct LfgUpdateData;
|
||||
|
||||
enum AccountDataType
|
||||
{
|
||||
@@ -730,12 +731,12 @@ class WorldSession
|
||||
void HandleLfrSearchOpcode(WorldPacket &recv_data);
|
||||
void HandleLfrLeaveOpcode(WorldPacket &recv_data);
|
||||
|
||||
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 SendLfgUpdatePlayer(LfgUpdateData& updateData);
|
||||
void SendLfgUpdateParty(LfgUpdateData& updateData);
|
||||
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);
|
||||
void SendLfgJoinResult(LfgJoinResultData& joinData);
|
||||
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