Core: Generic cleanup (tab2spaces/trailing whitespace removal)
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
#include "LFGGroupData.h"
|
||||
|
||||
LfgGroupData::LfgGroupData():
|
||||
m_State(LFG_STATE_NONE), m_OldState(LFG_STATE_NONE), m_Dungeon(0),
|
||||
m_State(LFG_STATE_NONE), m_OldState(LFG_STATE_NONE), m_Dungeon(0),
|
||||
m_VotesNeeded(0), m_KicksLeft(LFG_GROUP_MAX_KICKS)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -216,7 +216,7 @@ void LFGMgr::Update(uint32 diff)
|
||||
if (Player* plr = sObjectMgr->GetPlayer(guid))
|
||||
{
|
||||
plr->GetSession()->SendLfgRoleCheckUpdate(roleCheck);
|
||||
|
||||
|
||||
if (itRoles->first == roleCheck->leader)
|
||||
plr->GetSession()->SendLfgJoinResult(LfgJoinResultData(LFG_JOIN_FAILED, LFG_ROLECHECK_MISSING_ROLE));
|
||||
}
|
||||
@@ -1794,7 +1794,7 @@ void LFGMgr::TeleportPlayer(Player* plr, bool out, bool fromOpcode /*= false*/)
|
||||
/**
|
||||
Give completion reward to player
|
||||
|
||||
@param[in] dungeonId Id of the dungeon finished
|
||||
@param[in] dungeonId Id of the dungeon finished
|
||||
@param[in] plr Player to reward
|
||||
*/
|
||||
void LFGMgr::RewardDungeonDoneFor(const uint32 dungeonId, Player* player)
|
||||
@@ -1808,12 +1808,12 @@ void LFGMgr::RewardDungeonDoneFor(const uint32 dungeonId, Player* player)
|
||||
|
||||
uint64 guid = player->GetGUID();
|
||||
uint64 gguid = player->GetGroup()->GetGUID();
|
||||
uint32 gDungeonId = GetDungeon(gguid);
|
||||
uint32 gDungeonId = GetDungeon(gguid);
|
||||
if (gDungeonId != dungeonId)
|
||||
{
|
||||
sLog->outDebug("LFGMgr::RewardDungeonDoneFor: [" UI64FMTD "] Finished dungeon %u but group queued for %u. Ignoring", guid, dungeonId, gDungeonId);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (GetState(guid) == LFG_STATE_FINISHED_DUNGEON)
|
||||
{
|
||||
|
||||
@@ -47,7 +47,7 @@ class LfgPlayerData
|
||||
uint8 GetRoles() const;
|
||||
const std::string& GetComment() const;
|
||||
const LfgDungeonSet& GetSelectedDungeons() const;
|
||||
|
||||
|
||||
private:
|
||||
// General
|
||||
LfgState m_State; ///< State if group in LFG
|
||||
|
||||
Reference in New Issue
Block a user