![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Context for a proc test scenario. More...
#include "AuraScriptTestFramework.h"
Public Member Functions | |
| ProcTestContext ()=default | |
| UnitStub & | GetActor () |
| UnitStub const & | GetActor () const |
| UnitStub & | GetTarget () |
| UnitStub const & | GetTarget () const |
| AuraStub & | GetAura () |
| AuraStub const & | GetAura () const |
| DamageInfoStub & | GetDamageInfo () |
| DamageInfoStub const & | GetDamageInfo () const |
| HealInfoStub & | GetHealInfo () |
| HealInfoStub const & | GetHealInfo () const |
| ProcTestContext & | WithAuraId (uint32_t auraId) |
| ProcTestContext & | WithAuraSpellFamily (uint32_t familyName) |
| ProcTestContext & | WithAuraCharges (uint8_t charges) |
| ProcTestContext & | WithActorAsPlayer (bool isPlayer=true) |
| ProcTestContext & | WithDamage (uint32_t damage, uint32_t schoolMask=1) |
| ProcTestContext & | WithHeal (uint32_t heal, uint32_t effectiveHeal=0) |
| ProcTestContext & | WithCriticalHit () |
| ProcTestContext & | WithNormalHit () |
Private Attributes | |
| UnitStub | _actor |
| UnitStub | _target |
| AuraStub | _aura |
| DamageInfoStub | _damageInfo |
| HealInfoStub | _healInfo |
Context for a proc test scenario.
|
default |
|
inline |
References _damageInfo.
|
inline |
References _damageInfo.
|
inline |
References _healInfo.
|
inline |
|
inline |
|
inline |
References _actor, and UnitStub::SetIsPlayer().
|
inline |
References _aura, AuraStub::SetCharges(), and AuraStub::SetUsingCharges().
|
inline |
References _aura, and AuraStub::SetId().
|
inline |
References _aura, and AuraStub::SetSpellFamilyName().
|
inline |
References _damageInfo, _healInfo, PROC_HIT_CRITICAL, DamageInfoStub::SetHitMask(), and HealInfoStub::SetHitMask().
|
inline |
References _damageInfo, DamageInfoStub::SetDamage(), DamageInfoStub::SetOriginalDamage(), and DamageInfoStub::SetSchoolMask().
|
inline |
References _healInfo, HealInfoStub::SetEffectiveHeal(), and HealInfoStub::SetHeal().
|
inline |
References _damageInfo, _healInfo, PROC_HIT_NORMAL, DamageInfoStub::SetHitMask(), and HealInfoStub::SetHitMask().
|
private |
Referenced by GetActor(), GetActor(), and WithActorAsPlayer().
|
private |
Referenced by GetAura(), GetAura(), WithAuraCharges(), WithAuraId(), and WithAuraSpellFamily().
|
private |
Referenced by GetDamageInfo(), GetDamageInfo(), WithCriticalHit(), WithDamage(), and WithNormalHit().
|
private |
Referenced by GetHealInfo(), GetHealInfo(), WithCriticalHit(), WithHeal(), and WithNormalHit().
|
private |
Referenced by GetTarget(), and GetTarget().