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
513 {
514 if (!object->IsCreature())
515 return true;
516
517 Creature* cr = object->ToCreature();
518 return cr->GetSpawnId() != 54780 && cr->GetSpawnId() != 54787 && cr->GetSpawnId() != 54801;
519 }
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().


The documentation for this class was generated from the following file: