![]() |
TrinityCore
|
Inheritance diagram for spell_hun_tame_beast:Private Member Functions | |
| SpellCastResult | CheckCast () |
| void | Register () override |
Static Private Attributes | |
| static constexpr uint32 | CallPetSpellIds [MAX_ACTIVE_PETS] |
Definition at line 1601 of file spell_hunter.cpp.
|
inlineprivate |
Definition at line 1612 of file spell_hunter.cpp.
References CallPetSpellIds, Player::CanTameExoticPets(), CreatureAlreadyOwned, SpellScript::GetCaster(), Unit::GetCharmedGUID(), SpellScript::GetExplTargetUnit(), Unit::GetLevel(), Player::GetPetStable(), Player::HasSpell(), ObjectGuid::IsEmpty(), Player::SendTameFailure(), SPELL_CAST_OK, SPELL_FAILED_ALREADY_HAVE_CHARM, SPELL_FAILED_ALREADY_HAVE_SUMMON, SPELL_FAILED_BAD_IMPLICIT_TARGETS, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_DONT_REPORT, SPELL_FAILED_HIGHLEVEL, TooMany, and Object::ToPlayer().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 1670 of file spell_hunter.cpp.
References CheckCast(), SpellScript::OnCheckCast, and SpellCheckCastFn.
|
staticconstexprprivate |
Definition at line 1603 of file spell_hunter.cpp.
Referenced by CheckCast().