|
| | MockAuraStub (uint32_t id=0, uint32_t spellFamilyName=0) |
| |
| | MOCK_METHOD (bool, DropCharge,(),(override)) |
| |
| | MOCK_METHOD (bool, ModStackAmount,(int32_t amount, bool resetPeriodicTimer),(override)) |
| |
| | MOCK_METHOD (void, Remove,(),(override)) |
| |
| | AuraStub (uint32_t id=0, uint32_t spellFamilyName=0) |
| |
| virtual | ~AuraStub ()=default |
| |
| uint32_t | GetId () const |
| |
| uint32_t | GetSpellFamilyName () const |
| |
| void | SetId (uint32_t id) |
| |
| void | SetSpellFamilyName (uint32_t familyName) |
| |
| AuraEffectStub * | GetEffect (uint8_t effIndex) const |
| |
| bool | HasEffect (uint8_t effIndex) const |
| |
| uint8_t | GetEffectMask () const |
| |
| uint8_t | GetCharges () const |
| |
| bool | IsUsingCharges () const |
| |
| void | SetCharges (uint8_t charges) |
| |
| void | SetUsingCharges (bool usingCharges) |
| |
| virtual bool | DropCharge () |
| |
| bool | WasChargeDropped () const |
| |
| void | ResetChargeDropped () |
| |
| int32_t | GetDuration () const |
| |
| int32_t | GetMaxDuration () const |
| |
| bool | IsPermanent () const |
| |
| void | SetDuration (int32_t duration) |
| |
| void | SetMaxDuration (int32_t maxDuration) |
| |
| bool | IsProcOnCooldown (TimePoint now) const |
| |
| void | AddProcCooldown (TimePoint cooldownEnd) |
| |
| void | ResetProcCooldown () |
| |
| uint8_t | GetStackAmount () const |
| |
| void | SetStackAmount (uint8_t amount) |
| |
| virtual bool | ModStackAmount (int32_t amount, bool=true) |
| | Modify stack amount (for PROC_ATTR_USE_STACKS_FOR_CHARGES) Mimics Aura::ModStackAmount() - removes aura if stacks reach 0.
|
| |
| bool | IsPassive () const |
| |
| bool | IsRemoved () const |
| |
| void | SetPassive (bool isPassive) |
| |
| void | SetRemoved (bool isRemoved) |
| |
| virtual void | Remove () |
| | Mark aura as removed (for charge exhaustion) Mimics Aura::Remove()
|
| |
| AuraApplicationStub & | GetOrCreateApplication () |
| |
| AuraApplicationStub * | GetApplication () const |
| |
GMock-enabled Aura stub for verification.