TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ConditionSourceInfo Struct Reference

#include <ConditionMgr.h>

Public Member Functions

 ConditionSourceInfo (WorldObject *target0, WorldObject *target1=nullptr, WorldObject *target2=nullptr)
 

Public Attributes

WorldObjectmConditionTargets [MAX_CONDITION_TARGETS]
 
Condition constmLastFailedCondition
 

Constructor & Destructor Documentation

ConditionSourceInfo::ConditionSourceInfo ( WorldObject target0,
WorldObject target1 = nullptr,
WorldObject target2 = nullptr 
)
inline
186  {
187  mConditionTargets[0] = target0;
188  mConditionTargets[1] = target1;
189  mConditionTargets[2] = target2;
190  mLastFailedCondition = nullptr;
191  }
WorldObject * mConditionTargets[MAX_CONDITION_TARGETS]
Definition: ConditionMgr.h:183
Condition const * mLastFailedCondition
Definition: ConditionMgr.h:184

Member Data Documentation

WorldObject* ConditionSourceInfo::mConditionTargets[MAX_CONDITION_TARGETS]
Condition const* ConditionSourceInfo::mLastFailedCondition

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