4261{
4262 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted !!!");
4264 {
4266 {
4267 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A1) - {}, {}, {}, {}, {}, {}, {}, {}",
4268 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);
4270 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (A2)");
4271
4272 p->GetSession()->KickPlayer("Unit deleted");
4273 }
4274 }
4276 LOG_INFO(
"misc",
"SafeUnitPointer::UnitDeleted (B1)");
4277
4279}
#define LOG_INFO(filterType__,...)
Definition: Log.h:165
Player * ToPlayer()
Definition: Object.h:195
Definition: Player.h:1056