4291{
4292 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted !!!");
4294 {
4296 {
4297 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A1) - {}, {}, {}, {}, {}, {}, {}, {}",
4298 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);
4300 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A2)");
4301
4302 p->GetSession()->KickPlayer("Unit deleted");
4303 }
4304 }
4306 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (B1)");
4307
4309}
#define LOG_INFO(filterType__,...)
Definition: Log.h:164
Player * ToPlayer()
Definition: Object.h:198
Definition: Player.h:1064