![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Test data entry from spell_proc table with DBC comparison data. More...
#include "SpellProcTestData.h"
Public Member Functions | |
| SpellProcEntry | ToSpellProcEntry () const |
| Convert to SpellProcEntry for testing. | |
| bool | AddsValueBeyondDBC () const |
| Check if this entry adds value beyond DBC defaults. | |
| bool | HasDBCData () const |
| Check if DBC values are available for this entry. | |
Public Attributes | |
| int32_t | SpellId |
| uint32_t | SchoolMask |
| uint32_t | SpellFamilyName |
| uint32_t | SpellFamilyMask0 |
| uint32_t | SpellFamilyMask1 |
| uint32_t | SpellFamilyMask2 |
| uint32_t | ProcFlags |
| uint32_t | SpellTypeMask |
| uint32_t | SpellPhaseMask |
| uint32_t | HitMask |
| uint32_t | AttributesMask |
| uint32_t | Cooldown |
| float | Chance |
| float | ProcsPerMinute |
| uint8_t | Charges |
| uint8_t | DisableEffectsMask |
| uint32_t | DBC_ProcFlags |
| uint32_t | DBC_ProcChance |
| uint32_t | DBC_ProcCharges |
Test data entry from spell_proc table with DBC comparison data.
|
inline |
Check if this entry adds value beyond DBC defaults.
Returns true if the spell_proc entry provides functionality not available in Spell.dbc alone.
References AttributesMask, Chance, Charges, Cooldown, DBC_ProcChance, DBC_ProcCharges, DBC_ProcFlags, DisableEffectsMask, HitMask, ProcsPerMinute, SchoolMask, SpellFamilyMask0, SpellFamilyMask1, SpellFamilyMask2, SpellPhaseMask, and SpellTypeMask.
|
inline |
Check if DBC values are available for this entry.
References DBC_ProcChance, DBC_ProcCharges, and DBC_ProcFlags.
|
inline |
Convert to SpellProcEntry for testing.
References SpellProcEntry::AttributesMask, AttributesMask, SpellProcEntry::Chance, Chance, SpellProcEntry::Charges, Charges, SpellProcEntry::Cooldown, Cooldown, SpellProcEntry::DisableEffectsMask, DisableEffectsMask, SpellProcEntry::HitMask, HitMask, SpellProcEntry::ProcFlags, ProcFlags, SpellProcEntry::ProcsPerMinute, ProcsPerMinute, SpellProcEntry::SchoolMask, SchoolMask, SpellProcEntry::SpellFamilyMask, SpellFamilyMask0, SpellFamilyMask1, SpellFamilyMask2, SpellProcEntry::SpellFamilyName, SpellFamilyName, SpellProcEntry::SpellPhaseMask, SpellPhaseMask, SpellProcEntry::SpellTypeMask, and SpellTypeMask.
Referenced by SpellProcFullCoverageTest::SetUp().
| uint32_t SpellProcTestEntry::AttributesMask |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| float SpellProcTestEntry::Chance |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint8_t SpellProcTestEntry::Charges |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::Cooldown |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::DBC_ProcChance |
Referenced by AddsValueBeyondDBC(), and HasDBCData().
| uint32_t SpellProcTestEntry::DBC_ProcCharges |
Referenced by AddsValueBeyondDBC(), and HasDBCData().
| uint32_t SpellProcTestEntry::DBC_ProcFlags |
Referenced by AddsValueBeyondDBC(), and HasDBCData().
| uint8_t SpellProcTestEntry::DisableEffectsMask |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::HitMask |
Referenced by AddsValueBeyondDBC(), SpellProcDatabaseTest::GetEffectiveHitMask(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::ProcFlags |
Referenced by ToSpellProcEntry().
| float SpellProcTestEntry::ProcsPerMinute |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::SchoolMask |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::SpellFamilyMask0 |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::SpellFamilyMask1 |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::SpellFamilyMask2 |
Referenced by AddsValueBeyondDBC(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::SpellFamilyName |
Referenced by SpellProcDatabaseTest::RequiresSpellFamilyMatch(), and ToSpellProcEntry().
| int32_t SpellProcTestEntry::SpellId |
| uint32_t SpellProcTestEntry::SpellPhaseMask |
Referenced by AddsValueBeyondDBC(), SpellProcDatabaseTest::GetEffectiveSpellPhaseMask(), and ToSpellProcEntry().
| uint32_t SpellProcTestEntry::SpellTypeMask |
Referenced by AddsValueBeyondDBC(), SpellProcDatabaseTest::GetEffectiveSpellTypeMask(), and ToSpellProcEntry().