AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
DoorsGuidCheck Class Reference

Public Member Functions

bool operator() (WorldObject *object) const
 

Detailed Description

Member Function Documentation

◆ operator()()

bool DoorsGuidCheck::operator() ( WorldObject object) const
inline
464 {
465 if (!object->IsCreature())
466 return true;
467
468 Creature* cr = object->ToCreature();
469 return cr->GetSpawnId() != 54780 && cr->GetSpawnId() != 54787 && cr->GetSpawnId() != 54801;
470 }
Definition: Creature.h:43
ObjectGuid::LowType GetSpawnId() const
Definition: Creature.h:65
bool IsCreature() const
Definition: Object.h:204
Creature * ToCreature()
Definition: Object.h:205

References Creature::GetSpawnId(), Object::IsCreature(), and Object::ToCreature().