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
535 {
536 if (!object->IsCreature())
537 return true;
538
539 Creature* cr = object->ToCreature();
540 return cr->GetSpawnId() != 54780 && cr->GetSpawnId() != 54787 && cr->GetSpawnId() != 54801;
541 }
Definition: Creature.h:46
ObjectGuid::LowType GetSpawnId() const
Definition: Creature.h:68
bool IsCreature() const
Definition: Object.h:201
Creature * ToCreature()
Definition: Object.h:202

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