4309{
4310 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted !!!");
4312 {
4314 {
4315 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A1) - {}, {}, {}, {}, {}, {}, {}, {}",
4316 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);
4318 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A2)");
4319
4320 p->GetSession()->KickPlayer("Unit deleted");
4321 }
4322 }
4324 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (B1)");
4325
4327}
#define LOG_INFO(filterType__,...)
Definition: Log.h:165
Player * ToPlayer()
Definition: Object.h:201
Definition: Player.h:1081