4249{
4250 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted !!!");
4252 {
4254 {
4255 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A1) - {}, {}, {}, {}, {}, {}, {}, {}",
4256 p->GetGUID().ToString(), p->GetMapId(), p->GetInstanceId(), p->FindMap()->GetId(), p->IsInWorld() ? 1 : 0, p->IsDuringRemoveFromWorld() ? 1 : 0, p->IsBeingTeleported() ? 1 : 0, p->isBeingLoaded() ? 1 : 0);
4258 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A2)");
4259
4260 p->GetSession()->KickPlayer("Unit deleted");
4261 }
4262 }
4264 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (B1)");
4265
4267}
#define LOG_INFO(filterType__,...)
Definition: Log.h:167
Player * ToPlayer()
Definition: Object.h:195
Definition: Player.h:1046