AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ConditionSourceInfo Struct Reference

#include "ConditionMgr.h"

Public Member Functions

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

Public Attributes

WorldObjectmConditionTargets [MAX_CONDITION_TARGETS]
 
ConditionmLastFailedCondition
 

Detailed Description

Constructor & Destructor Documentation

◆ ConditionSourceInfo()

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 }
Condition * mLastFailedCondition
Definition: ConditionMgr.h:184
WorldObject * mConditionTargets[MAX_CONDITION_TARGETS]
Definition: ConditionMgr.h:183

References mConditionTargets, and mLastFailedCondition.

Member Data Documentation

◆ mConditionTargets

◆ mLastFailedCondition

Condition* ConditionSourceInfo::mLastFailedCondition