AzerothCore
3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Public Member Functions
|
List of all members
DoorsGuidCheck Class Reference
Public Member Functions
bool
operator()
(
WorldObject
*object) const
Detailed Description
Member Function Documentation
◆
operator()()
bool DoorsGuidCheck::operator()
(
WorldObject
*
object
)
const
inline
545
{
546
if
(object->
GetTypeId
() !=
TYPEID_UNIT
)
547
return
true
;
548
549
Creature
* cr =
object
->
ToCreature
();
550
return
cr->
GetSpawnId
() != 54780 && cr->
GetSpawnId
() != 54787 && cr->
GetSpawnId
() != 54801;
551
}
TYPEID_UNIT
@ TYPEID_UNIT
Definition:
ObjectGuid.h:37
Creature
Definition:
Creature.h:46
Creature::GetSpawnId
ObjectGuid::LowType GetSpawnId() const
Definition:
Creature.h:67
Object::GetTypeId
TypeID GetTypeId() const
Definition:
Object.h:121
Object::ToCreature
Creature * ToCreature()
Definition:
Object.h:197
References
Creature::GetSpawnId()
,
Object::GetTypeId()
,
Object::ToCreature()
, and
TYPEID_UNIT
.
DoorsGuidCheck
Generated on Wed Dec 6 2023 22:12:46 for AzerothCore by
1.9.6