TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
RitualTargetCheck Class Reference

Public Member Functions

 RitualTargetCheck ()
 
bool operator() (WorldObject *obj) const
 

Constructor & Destructor Documentation

RitualTargetCheck::RitualTargetCheck ( )
inlineexplicit
485 { }

Member Function Documentation

bool RitualTargetCheck::operator() ( WorldObject obj) const
inline
488  {
489  if (InstanceScript* instance = obj->GetInstanceScript())
490  if (instance->GetGuidData(DATA_SACRIFICED_PLAYER) == obj->GetGUID())
491  return false;
492 
493  return true;
494  }
InstanceScript * GetInstanceScript()
Definition: Object.cpp:1540
ObjectGuid const & GetGUID() const
Definition: Object.h:105
Definition: InstanceScript.h:141
Definition: utgarde_pinnacle.h:37

+ Here is the call graph for this function:


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