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

#include "ScriptedCreature.h"

Public Member Functions

 EntryCheckPredicate (uint32 entry)
 
bool operator() (ObjectGuid guid)
 

Private Attributes

uint32 _entry
 

Detailed Description

Constructor & Destructor Documentation

◆ EntryCheckPredicate()

EntryCheckPredicate::EntryCheckPredicate ( uint32  entry)
inline
169: _entry(entry) {}
uint32 _entry
Definition: ScriptedCreature.h:173

Member Function Documentation

◆ operator()()

bool EntryCheckPredicate::operator() ( ObjectGuid  guid)
inline
170{ return guid.GetEntry() == _entry; }
uint32 GetEntry() const
Definition: ObjectGuid.h:144

References _entry, and ObjectGuid::GetEntry().

Member Data Documentation

◆ _entry

uint32 EntryCheckPredicate::_entry
private

Referenced by operator()().