![]() |
TrinityCore
|
Inheritance diagram for spell_gen_battleground_mercenary_shapeshift:Private Member Functions | |
| bool | Validate (SpellInfo const *) override |
| void | HandleApply (AuraEffect const *, AuraEffectHandleModes mode) const |
| void | HandleRemove (AuraEffect const *, AuraEffectHandleModes) const |
| void | UpdateRacials (Races oldRace, Races newRace) const |
| void | Register () override |
Static Private Member Functions | |
| static Races | GetReplacementRace (Races nativeRace, Classes playerClass) |
| static uint32 | GetDisplayIdForRace (Races race, Gender gender) |
Static Private Attributes | |
| static std::unordered_map< Races, std::array< uint32, 2 > > const | RaceDisplayIds |
| static std::vector< uint32 > | RacialSkills |
Definition at line 414 of file spell_generic.cpp.
|
inlinestaticprivate |
Definition at line 462 of file spell_generic.cpp.
References Trinity::Containers::MapGetValuePtr(), and RaceDisplayIds.
Referenced by HandleApply().
|
inlinestaticprivate |
Definition at line 453 of file spell_generic.cpp.
References DB2Manager::GetCharBaseInfo(), RACE_NONE, and sObjectMgr.
Referenced by HandleApply(), and HandleRemove().
|
inlineprivate |
Definition at line 490 of file spell_generic.cpp.
References AURA_EFFECT_HANDLE_REAL, Unit::GetClass(), GetDisplayIdForRace(), Unit::GetNativeGender(), Unit::GetRace(), GetReplacementRace(), AuraScript::GetUnitOwner(), RACE_NONE, Unit::SetDisplayId(), and UpdateRacials().
Referenced by Register().
|
inlineprivate |
Definition at line 504 of file spell_generic.cpp.
References Unit::GetClass(), Unit::GetRace(), GetReplacementRace(), AuraScript::GetUnitOwner(), RACE_NONE, and UpdateRacials().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 532 of file spell_generic.cpp.
References AuraScript::AfterEffectApply, AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AURA_EFFECT_HANDLE_SEND_FOR_CLIENT_MASK, AuraEffectApplyFn, EFFECT_0, HandleApply(), HandleRemove(), and SPELL_AURA_TRANSFORM.
|
inlineprivate |
Definition at line 514 of file spell_generic.cpp.
References Unit::GetClass(), Unit::GetMaxSkillValueForLevel(), AuraScript::GetUnitOwner(), Player::LearnSkillRewardedSpells(), RacialSkills, Player::RemoveSpell(), sDB2Manager, and Object::ToPlayer().
Referenced by HandleApply(), and HandleRemove().
|
inlineoverrideprivatevirtual |
Reimplemented from SpellScriptBase.
Definition at line 470 of file spell_generic.cpp.
References RaceDisplayIds, RacialForThePurposeOfTemporaryRaceChange, RacialSkills, sChrRacesStore, sCreatureDisplayInfoStore, and sSkillLineStore.
|
inlinestaticprivate |
Definition at line 416 of file spell_generic.cpp.
Referenced by GetDisplayIdForRace(), and Validate().
|
inlinestaticprivate |
Definition at line 451 of file spell_generic.cpp.
Referenced by UpdateRacials(), and Validate().