155 TC_LOG_DEBUG(
"lfg",
"LFGScripts::OnRemoveMember [%s]: remove [%s] Method: %d Kicker: [%s] Reason: %s",
163 std::string str_reason =
"";
165 str_reason = std::string(reason);
166 sLFGMgr->InitBoot(gguid, kicker, guid, str_reason);
177 sLFGMgr->RemovePlayerFromGroup(gguid, guid);
183 uint8 players =
sLFGMgr->RemovePlayerFromGroup(gguid, guid);
194 if (isLFG && player->GetMap()->IsDungeon())
195 sLFGMgr->TeleportPlayer(player,
true);
200 leader->GetSession()->SendLfgOfferContinue(
sLFGMgr->GetDungeon(gguid,
false));
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
ObjectGuid GetGUID() const
Definition: Group.cpp:2534
LfgState
Definition: LFG.h:65
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
Definition: SharedDefines.h:4688
TC_GAME_API Player * FindPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:209
#define sLFGMgr
Definition: LFGMgr.h:481
Definition: SharedDefines.h:4689
bool isLFGGroup() const
Definition: Group.cpp:2504
Definition: SharedDefines.h:4687
uint8_t uint8
Definition: Define.h:152
Definition: ObjectGuid.h:189
TC_GAME_API Player * FindConnectedPlayer(ObjectGuid const &)
Definition: ObjectAccessor.cpp:215
std::string ToString() const
Definition: ObjectGuid.cpp:99