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
514 {
515 if (!object->IsCreature())
516 return true;
517
518 Creature* cr = object->ToCreature();
519 return cr->GetSpawnId() != 54780 && cr->GetSpawnId() != 54787 && cr->GetSpawnId() != 54801;
520 }
Definition Creature.h:47
ObjectGuid::LowType GetSpawnId() const
Definition Creature.h:69
bool IsCreature() const
Definition Object.h:205
Creature * ToCreature()
Definition Object.h:206

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


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