diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-05-18 22:21:17 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-06-08 17:03:15 +0200 |
commit | 31fda79556e55375962a3c9e46f6dbdbf6e90d18 (patch) | |
tree | 36ee91cb16772fa58e0a1eac973f82b437306af9 /src/server/game/DungeonFinding/LFGMgr.h | |
parent | 9685c9346dfe06ad1d248ff4e128e0d0b8dbfcea (diff) |
Core/PacketIO: Updated packet structures to 8.1.5
Diffstat (limited to 'src/server/game/DungeonFinding/LFGMgr.h')
-rw-r--r-- | src/server/game/DungeonFinding/LFGMgr.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/game/DungeonFinding/LFGMgr.h b/src/server/game/DungeonFinding/LFGMgr.h index 8cb332d3e45..0107d9adcfb 100644 --- a/src/server/game/DungeonFinding/LFGMgr.h +++ b/src/server/game/DungeonFinding/LFGMgr.h @@ -112,7 +112,7 @@ enum LfgJoinResult LFG_JOIN_OK = 0x00, // Joined (no client msg) LFG_JOIN_GROUP_FULL = 0x1F, // Your group is already full. LFG_JOIN_NO_LFG_OBJECT = 0x21, // Internal LFG Error. - LFG_JOIN_NO_SLOTS_PLAYER = 0x22, // You do not meet the requirements for the chosen dungeons. + LFG_JOIN_NO_SLOTS = 0x22, // You do not meet the requirements for the chosen dungeons. LFG_JOIN_MISMATCHED_SLOTS = 0x23, // You cannot mix dungeons, raids, and random when picking dungeons. LFG_JOIN_PARTY_PLAYERS_FROM_DIFFERENT_REALMS = 0x24, // The dungeon you chose does not support players from multiple realms. LFG_JOIN_MEMBERS_NOT_PRESENT = 0x25, // One or more group members are pending invites or disconnected. @@ -177,6 +177,7 @@ struct LfgJoinResultData LfgJoinResult result; LfgRoleCheckState state; LfgLockPartyMap lockmap; + std::vector<std::string const*> playersMissingRequirement; }; // Data needed by SMSG_LFG_UPDATE_STATUS @@ -386,7 +387,7 @@ class TC_GAME_API LFGMgr // LFGHandler /// Get locked dungeons - LfgLockMap const GetLockedDungeons(ObjectGuid guid); + LfgLockMap GetLockedDungeons(ObjectGuid guid); /// Returns current lfg status LfgUpdateData GetLfgStatus(ObjectGuid guid); /// Checks if Seasonal dungeon is active @@ -447,7 +448,7 @@ class TC_GAME_API LFGMgr void SetState(ObjectGuid guid, LfgState state); void SetVoteKick(ObjectGuid gguid, bool active); void RemovePlayerData(ObjectGuid guid); - void GetCompatibleDungeons(LfgDungeonSet& dungeons, GuidSet const& players, LfgLockPartyMap& lockMap, bool isContinue); + void GetCompatibleDungeons(LfgDungeonSet* dungeons, GuidSet const& players, LfgLockPartyMap* lockMap, std::vector<std::string const*>* playersMissingRequirement, bool isContinue); void _SaveToDB(ObjectGuid guid, uint32 db_guid); LFGDungeonData const* GetLFGDungeon(uint32 id); |