![]() |
TrinityCore
|
#include <AreaTriggerAI.h>
Inheritance diagram for AreaTriggerAI:Public Member Functions | |
| AreaTriggerAI (AreaTrigger *a, uint32 scriptId={}) noexcept | |
| AreaTriggerAI (AreaTriggerAI const &)=delete | |
| AreaTriggerAI (AreaTriggerAI &&)=delete | |
| AreaTriggerAI & | operator= (AreaTriggerAI const &)=delete |
| AreaTriggerAI & | operator= (AreaTriggerAI &&)=delete |
| virtual | ~AreaTriggerAI () |
| virtual void | OnInitialize () |
| virtual void | OnCreate (Spell const *creatingSpell) |
| virtual void | OnUpdate (uint32 diff) |
| virtual void | OnDestinationReached () |
| virtual void | OnUnitEnter (Unit *unit) |
| virtual void | OnUnitExit (Unit *unit, AreaTriggerExitReason reason) |
| virtual void | OnRemove () |
| virtual void | DoAction (int32 param) |
| virtual uint32 | GetData (uint32 id) const |
| virtual void | SetData (uint32 id, uint32 value) |
| virtual void | SetGUID (ObjectGuid const &guid, int32 id) |
| virtual ObjectGuid | GetGUID (int32 id) const |
| uint32 | GetId () const |
Protected Attributes | |
| AreaTrigger *const | at |
Private Attributes | |
| uint32 | _scriptId |
Definition at line 29 of file AreaTriggerAI.h.
|
explicitnoexcept |
Definition at line 21 of file AreaTriggerAI.cpp.
References ASSERT.
|
delete |
|
delete |
|
virtualdefault |
|
inlinevirtual |
Definition at line 65 of file AreaTriggerAI.h.
Definition at line 66 of file AreaTriggerAI.h.
|
inlinevirtual |
Definition at line 69 of file AreaTriggerAI.h.
References ObjectGuid::Empty.
|
inline |
Definition at line 72 of file AreaTriggerAI.h.
|
inlinevirtual |
Reimplemented in at_bg_seething_shore_haste_rune_buff, at_mana_devourer_loose_mana, at_tidesage_council_reinforcing_ward, at_waycrest_manor_organ_missiles, at_anduin_wrynn_befouled_barrier, at_anduin_wrynn_beacon_of_hope, at_dh_glaive_tempest, at_dru_lunar_beam, at_hun_binding_shot, areatrigger_hun_tar_trap, at_mage_flame_patch, areatrigger_pal_ashen_hallow, at_warl_bilescourge_bombers, at_sporecaller_zancha_intro, at_evo_firestorm, areatrigger_pri_entropic_rift, areatrigger_sha_earthquake, and at_abyssal_portal_harbinger.
Definition at line 47 of file AreaTriggerAI.h.
Referenced by CreatureGameObjectAreaTriggerConversationScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::LoadResetScript().
|
inlinevirtual |
Reimplemented in at_orator_krix_vizk_doubt, at_anduin_wrynn_wicked_star, at_anduin_wrynn_empowered_wicked_star, areatrigger_pri_divine_star, areatrigger_pri_entropic_rift, at_void_orb_harbinger, and at_sporecaller_zancha_volatile_pod.
Definition at line 53 of file AreaTriggerAI.h.
|
inlinevirtual |
Reimplemented in SmartAreaTriggerAI, at_ymiron_the_fallen_king_bane, at_fel_lord_caza_throw_axe_knockback, at_garrison_enter, at_garrison_exit, at_tunk_seismic_slam, at_orator_krix_vizk_lingering_influence, at_orator_krix_vizk_doubt, at_anduin_wrynn_befouled_barrier, at_anduin_wrynn_beacon_of_hope, at_anduin_wrynn_wicked_star, at_anduin_wrynn_empowered_wicked_star, at_dh_inner_demon, at_dh_shattered_souls< SpellId >, at_gen_spatial_rift, at_hun_binding_shot, areatrigger_hun_high_explosive_trap, areatrigger_hun_implosive_trap, areatrigger_hun_tar_trap_activate, at_monk_song_of_chi_ji, areatrigger_pri_angelic_feather, areatrigger_pri_divine_star, at_void_orb_harbinger, and at_sporecaller_zancha_volatile_pod.
Definition at line 44 of file AreaTriggerAI.h.
|
inlinevirtual |
Reimplemented in at_guardians_breath< ColorSpellId >::at_guardians_breathAI< ColorSpell >, at_telash_greywing_vault_rune, at_waycrest_manor_organ_missiles, at_dh_inner_demon, at_dh_shattered_souls< SpellId >, areatrigger_dh_generic_sigil< TriggerSpellId, TriggerSpellId2 >, at_evo_emerald_blossom, and at_mage_meteor.
Definition at line 62 of file AreaTriggerAI.h.
Referenced by CreatureGameObjectAreaTriggerConversationScriptRegistrySwapHooks< ObjectType, ScriptType, Base >::UnloadResetScript().
|
inlinevirtual |
Reimplemented in SmartAreaTriggerAI, at_garothi_annihilation, at_bg_deephaul_ravine_buff, at_bg_seething_shore_haste_rune_buff, at_bg_temple_of_kotmogu_healing_buff, at_bg_temple_of_kotmogu_small_area, at_bg_temple_of_kotmogu_medium_area, at_amalgam_of_souls_swirling_scythe, at_amalgam_of_souls_call_souls, at_king_deepbeard_call_the_seas, at_ymiron_the_fallen_king_activation, at_ymiron_the_fallen_king_bane, at_rokmora_choking_dust, at_rokmora_crystalline_ground, at_rokmora_intro, at_hall_of_shadows_call_of_the_uncrowned_clone_milton, at_enter_the_illidari_ashtongue_allari_killcredit, at_enter_the_illidari_shivarra_conversation, at_fel_lord_caza_intro, at_fel_lord_caza_fel_infusion, at_fel_lord_caza_throw_axe_knockback, at_auchindoun_npc_reaction, at_garrison_enter, at_altar_altercation_kilrogg_talk, at_altar_altercation_reach_altar, at_aberrus_sabellian_conversation_intro, at_aberrus_sarkareth_conversation_intro, at_leymor_arcane_eruption, at_telash_greywing_vault_rune, at_dracthyr_stasis_feedback, at_maiden_of_virtue_rtk_sacred_ground, at_mana_devourer_loose_mana, at_mana_devourer_energy_void, at_shade_of_medivh_ceaseless_winter, at_shade_of_medivh_flame_wreath, at_the_curator_rtk_power_discharge, at_human_heritage_lions_pride_inn_basement_enter, at_ghostlands_conversation_to_ghostlands< QuestId, ConversationId >, Scripts::EasternKingdoms::StormwindCity::at_stormwind_keep_tides_of_war, at_malacrass_hex_sphere, at_tunk_seismic_slam, areatrigger_find_the_lost_expedition, areatrigger_find_the_lost_expedition_follower, at_aggro_radius_check_enhanced_combat_tactics, at_northbound_linger, at_briarpatch_to_plains, at_azhiccar_digestive_spittle, at_azhiccar_devour_force, at_azhiccar_devour, at_azhiccar_intro, at_orator_conversation_intro< conversationEntry, data >, at_orator_krix_vizk_chains_of_oppression, at_orator_krix_vizk_lingering_influence, at_orator_krix_vizk_doubt, at_the_candle_king_cursed_wax, at_the_candle_king_molten_wax, at_the_candle_king_candlelight, at_ulgrax_intro, at_edna_volatile_spike, at_skarmorak_unstable_fragments, at_drustvar_timbered_strand_shoot_wickerman, at_aqusirr_intro, at_aqusirr_undertow, at_aqusirr_surging_rush, at_lord_stormsong_waken_the_void, at_lord_stormsong_intro, at_tidesage_council_reinforcing_ward, at_tidesage_council_swiftness_ward_boss, at_tidesage_council_swiftness_ward_player, at_tidesage_council_blowback, at_heartsbane_triad_aura_of_apathy, at_heartsbane_triad_aura_of_dread, at_heartsbane_triad_aura_of_thorns, at_waycrest_manor_wildfire, at_boralus_get_your_bearings< QuestId, ObjectiveId, SpellId >, at_boralus_old_knight_enter_harbormasters_office, at_boralus_old_knight_genn_arrives_boralus, at_boralus_sanctum_of_the_sages_conversation, Scripts::QuelThalas::MurderRow::KystiaManaheart::at_kystia_manaheart_fel_spray, at_sylvanas_windrunner_z_check, at_sylvanas_windrunner_introduction, at_anduin_wrynn_march_of_the_damned, at_anduin_wrynn_befouled_barrier, at_anduin_wrynn_beacon_of_hope, at_anduin_wrynn_blasphemy, at_anduin_wrynn_wicked_star, at_anduin_wrynn_hopelessness, at_anduin_wrynn_pre_introduction, areatrigger_dh_darkness, at_dh_shattered_souls< SpellId >, at_dk_death_and_decay, at_hun_binding_shot, at_hun_bleak_powder, at_hun_flare, areatrigger_hun_high_explosive_trap, areatrigger_hun_implosive_trap, areatrigger_hun_tar_trap, areatrigger_hun_tar_trap_activate, at_mage_meteor_burn, at_monk_song_of_chi_ji, areatrigger_pal_ashen_hallow, areatrigger_pal_consecration, areatrigger_pri_angelic_feather, areatrigger_pri_divine_star, areatrigger_pri_halo, areatrigger_sha_arctic_snowstorm, areatrigger_sha_wind_rush_totem, areatrigger_stormwind_teleport_unit, areatrigger_battleground_buffs, areatrigger_action_capture_flag, at_void_orb_harbinger, at_priestess_alun_za_tainted_blood, at_priestess_alun_za_corrupted_gold, at_rezan_pile_of_bones_spawn_raptor, at_rezan_pile_of_bones_slow, at_volkaal_rapid_decay, at_kings_rest_molten_gold, at_kings_rest_trigger_intro_event_with_zul, at_kings_rest_gust_slash, at_cragmaw_destroy_larva, at_sporecaller_zancha_boundless_rot, at_sporecaller_zancha_volatile_pod, and at_sporecaller_zancha_intro.
Definition at line 56 of file AreaTriggerAI.h.
|
inlinevirtual |
Reimplemented in SmartAreaTriggerAI, areatrigger_pri_halo_return, at_garothi_annihilation, at_bg_temple_of_kotmogu_small_area, at_bg_temple_of_kotmogu_medium_area, at_king_deepbeard_call_the_seas, at_rokmora_choking_dust, at_rokmora_crystalline_ground, at_garrison_exit, at_altar_altercation_reach_altar, at_leymor_arcane_eruption, at_telash_greywing_vault_rune, at_maiden_of_virtue_rtk_sacred_ground, at_mana_devourer_energy_void, at_shade_of_medivh_ceaseless_winter, at_shade_of_medivh_ceaseless_winter_jump_check, at_shade_of_medivh_flame_wreath, at_the_curator_rtk_power_discharge, at_azhiccar_digestive_spittle, at_azhiccar_devour_force, at_orator_krix_vizk_chains_of_oppression, at_orator_krix_vizk_lingering_influence, at_the_candle_king_molten_wax, at_the_candle_king_candlelight, at_aqusirr_undertow, at_tidesage_council_reinforcing_ward, at_tidesage_council_swiftness_ward_boss, at_tidesage_council_swiftness_ward_player, at_heartsbane_triad_aura_of_apathy, at_heartsbane_triad_aura_of_dread, at_heartsbane_triad_aura_of_thorns, at_waycrest_manor_wildfire, Scripts::QuelThalas::MurderRow::KystiaManaheart::at_kystia_manaheart_fel_spray, at_anduin_wrynn_befouled_barrier, at_anduin_wrynn_hopelessness, areatrigger_dh_darkness, at_dk_death_and_decay, at_hun_binding_shot, at_hun_flare, areatrigger_hun_tar_trap, at_mage_meteor_burn, areatrigger_pal_ashen_hallow, areatrigger_pal_consecration, areatrigger_pri_divine_star, areatrigger_sha_arctic_snowstorm, at_volkaal_rapid_decay, and at_kings_rest_molten_gold.
Definition at line 59 of file AreaTriggerAI.h.
|
inlinevirtual |
Reimplemented in SmartAreaTriggerAI, at_bg_temple_of_kotmogu_small_area, at_auchindoun_npc_reaction, at_mana_devourer_loose_mana, at_mana_devourer_energy_void, at_orator_krix_vizk_doubt, at_tidesage_council_reinforcing_ward, at_waycrest_manor_organ_missiles, at_anduin_wrynn_befouled_barrier, at_anduin_wrynn_beacon_of_hope, at_dh_glaive_tempest, at_dru_lunar_beam, at_evo_firestorm, at_hun_binding_shot, areatrigger_mage_blizzard, at_mage_flame_patch, areatrigger_pal_ashen_hallow, areatrigger_pri_divine_star, areatrigger_pri_entropic_rift, areatrigger_sha_earthquake, areatrigger_sha_wind_rush_totem, at_abyssal_portal_harbinger, and at_priestess_alun_za_tainted_blood.
Definition at line 50 of file AreaTriggerAI.h.
|
delete |
|
delete |
Definition at line 67 of file AreaTriggerAI.h.
|
inlinevirtual |
Definition at line 68 of file AreaTriggerAI.h.
|
private |
Definition at line 31 of file AreaTriggerAI.h.
|
protected |
Definition at line 34 of file AreaTriggerAI.h.
Referenced by at_anduin_wrynn_befouled_barrier::Absorb(), at_mana_devourer_energy_void::GetInsidePlayersCount(), at_shade_of_medivh_flame_wreath::GetInsidePlayersCount(), at_anduin_wrynn_empowered_wicked_star::HandleMovement(), areatrigger_pri_divine_star::HandleUnitEnterExit(), at_bg_seething_shore_haste_rune_buff::OnCreate(), at_mana_devourer_loose_mana::OnCreate(), at_tidesage_council_reinforcing_ward::OnCreate(), at_waycrest_manor_organ_missiles::OnCreate(), at_anduin_wrynn_befouled_barrier::OnCreate(), at_anduin_wrynn_beacon_of_hope::OnCreate(), at_dh_glaive_tempest::OnCreate(), at_dru_lunar_beam::OnCreate(), at_hun_binding_shot::OnCreate(), areatrigger_hun_tar_trap::OnCreate(), at_mage_flame_patch::OnCreate(), at_warl_bilescourge_bombers::OnCreate(), at_sporecaller_zancha_intro::OnCreate(), at_evo_firestorm::OnCreate(), areatrigger_pri_entropic_rift::OnCreate(), areatrigger_sha_earthquake::OnCreate(), at_abyssal_portal_harbinger::OnCreate(), at_orator_krix_vizk_doubt::OnDestinationReached(), at_anduin_wrynn_wicked_star::OnDestinationReached(), areatrigger_pri_divine_star::OnDestinationReached(), at_void_orb_harbinger::OnDestinationReached(), at_sporecaller_zancha_volatile_pod::OnDestinationReached(), SmartAreaTriggerAI::OnInitialize(), at_ymiron_the_fallen_king_bane::OnInitialize(), at_fel_lord_caza_throw_axe_knockback::OnInitialize(), at_garrison_enter::OnInitialize(), at_garrison_exit::OnInitialize(), at_tunk_seismic_slam::OnInitialize(), at_orator_krix_vizk_lingering_influence::OnInitialize(), at_orator_krix_vizk_doubt::OnInitialize(), at_anduin_wrynn_befouled_barrier::OnInitialize(), at_anduin_wrynn_wicked_star::OnInitialize(), at_dh_inner_demon::OnInitialize(), at_dh_shattered_souls< SpellId >::OnInitialize(), at_gen_spatial_rift::OnInitialize(), at_hun_binding_shot::OnInitialize(), areatrigger_hun_high_explosive_trap::OnInitialize(), areatrigger_hun_implosive_trap::OnInitialize(), areatrigger_hun_tar_trap_activate::OnInitialize(), at_monk_song_of_chi_ji::OnInitialize(), areatrigger_pri_angelic_feather::OnInitialize(), areatrigger_pri_divine_star::OnInitialize(), at_void_orb_harbinger::OnInitialize(), at_sporecaller_zancha_volatile_pod::OnInitialize(), at_guardians_breath< ColorSpellId >::at_guardians_breathAI< ColorSpell >::OnRemove(), at_telash_greywing_vault_rune::OnRemove(), at_waycrest_manor_organ_missiles::OnRemove(), at_dh_inner_demon::OnRemove(), at_dh_shattered_souls< SpellId >::OnRemove(), areatrigger_dh_generic_sigil< TriggerSpellId, TriggerSpellId2 >::OnRemove(), at_evo_emerald_blossom::OnRemove(), at_mage_meteor::OnRemove(), at_garothi_annihilation::OnUnitEnter(), at_bg_deephaul_ravine_buff::OnUnitEnter(), at_bg_seething_shore_haste_rune_buff::OnUnitEnter(), at_bg_temple_of_kotmogu_healing_buff::OnUnitEnter(), at_amalgam_of_souls_call_souls::OnUnitEnter(), at_king_deepbeard_call_the_seas::OnUnitEnter(), at_ymiron_the_fallen_king_activation::OnUnitEnter(), at_ymiron_the_fallen_king_bane::OnUnitEnter(), at_rokmora_choking_dust::OnUnitEnter(), at_rokmora_intro::OnUnitEnter(), at_fel_lord_caza_fel_infusion::OnUnitEnter(), at_fel_lord_caza_throw_axe_knockback::OnUnitEnter(), at_aberrus_sabellian_conversation_intro::OnUnitEnter(), at_aberrus_sarkareth_conversation_intro::OnUnitEnter(), at_leymor_arcane_eruption::OnUnitEnter(), at_telash_greywing_vault_rune::OnUnitEnter(), at_dracthyr_stasis_feedback::OnUnitEnter(), at_maiden_of_virtue_rtk_sacred_ground::OnUnitEnter(), at_mana_devourer_loose_mana::OnUnitEnter(), at_mana_devourer_energy_void::OnUnitEnter(), at_shade_of_medivh_flame_wreath::OnUnitEnter(), at_the_curator_rtk_power_discharge::OnUnitEnter(), at_malacrass_hex_sphere::OnUnitEnter(), at_tunk_seismic_slam::OnUnitEnter(), at_aggro_radius_check_enhanced_combat_tactics::OnUnitEnter(), at_azhiccar_digestive_spittle::OnUnitEnter(), at_azhiccar_devour_force::OnUnitEnter(), at_azhiccar_devour::OnUnitEnter(), at_azhiccar_intro::OnUnitEnter(), at_orator_conversation_intro< conversationEntry, data >::OnUnitEnter(), at_orator_krix_vizk_chains_of_oppression::OnUnitEnter(), at_orator_krix_vizk_lingering_influence::OnUnitEnter(), at_orator_krix_vizk_doubt::OnUnitEnter(), at_the_candle_king_cursed_wax::OnUnitEnter(), at_ulgrax_intro::OnUnitEnter(), at_edna_volatile_spike::OnUnitEnter(), at_skarmorak_unstable_fragments::OnUnitEnter(), at_drustvar_timbered_strand_shoot_wickerman::OnUnitEnter(), at_aqusirr_intro::OnUnitEnter(), at_aqusirr_undertow::OnUnitEnter(), at_aqusirr_surging_rush::OnUnitEnter(), at_lord_stormsong_waken_the_void::OnUnitEnter(), at_lord_stormsong_intro::OnUnitEnter(), at_tidesage_council_swiftness_ward_boss::OnUnitEnter(), at_tidesage_council_blowback::OnUnitEnter(), Scripts::QuelThalas::MurderRow::KystiaManaheart::at_kystia_manaheart_fel_spray::OnUnitEnter(), at_sylvanas_windrunner_introduction::OnUnitEnter(), at_anduin_wrynn_march_of_the_damned::OnUnitEnter(), at_anduin_wrynn_befouled_barrier::OnUnitEnter(), at_anduin_wrynn_beacon_of_hope::OnUnitEnter(), at_anduin_wrynn_blasphemy::OnUnitEnter(), at_anduin_wrynn_wicked_star::OnUnitEnter(), at_anduin_wrynn_hopelessness::OnUnitEnter(), at_anduin_wrynn_pre_introduction::OnUnitEnter(), areatrigger_dh_darkness::OnUnitEnter(), at_dh_shattered_souls< SpellId >::OnUnitEnter(), at_dk_death_and_decay::OnUnitEnter(), at_hun_binding_shot::OnUnitEnter(), at_hun_bleak_powder::OnUnitEnter(), at_hun_flare::OnUnitEnter(), areatrigger_hun_high_explosive_trap::OnUnitEnter(), areatrigger_hun_implosive_trap::OnUnitEnter(), areatrigger_hun_tar_trap::OnUnitEnter(), areatrigger_hun_tar_trap_activate::OnUnitEnter(), at_mage_meteor_burn::OnUnitEnter(), at_monk_song_of_chi_ji::OnUnitEnter(), areatrigger_pal_ashen_hallow::OnUnitEnter(), areatrigger_pal_consecration::OnUnitEnter(), areatrigger_pri_angelic_feather::OnUnitEnter(), areatrigger_pri_halo::OnUnitEnter(), areatrigger_sha_arctic_snowstorm::OnUnitEnter(), areatrigger_sha_wind_rush_totem::OnUnitEnter(), areatrigger_action_capture_flag::OnUnitEnter(), at_void_orb_harbinger::OnUnitEnter(), at_priestess_alun_za_tainted_blood::OnUnitEnter(), at_priestess_alun_za_corrupted_gold::OnUnitEnter(), at_rezan_pile_of_bones_spawn_raptor::OnUnitEnter(), at_rezan_pile_of_bones_slow::OnUnitEnter(), at_kings_rest_trigger_intro_event_with_zul::OnUnitEnter(), at_cragmaw_destroy_larva::OnUnitEnter(), at_sporecaller_zancha_boundless_rot::OnUnitEnter(), at_sporecaller_zancha_volatile_pod::OnUnitEnter(), at_sporecaller_zancha_intro::OnUnitEnter(), areatrigger_pri_halo_return::OnUnitExit(), at_garothi_annihilation::OnUnitExit(), at_leymor_arcane_eruption::OnUnitExit(), at_telash_greywing_vault_rune::OnUnitExit(), at_shade_of_medivh_flame_wreath::OnUnitExit(), at_the_curator_rtk_power_discharge::OnUnitExit(), at_azhiccar_devour_force::OnUnitExit(), at_aqusirr_undertow::OnUnitExit(), at_anduin_wrynn_hopelessness::OnUnitExit(), areatrigger_dh_darkness::OnUnitExit(), at_dk_death_and_decay::OnUnitExit(), at_hun_binding_shot::OnUnitExit(), areatrigger_hun_tar_trap::OnUnitExit(), at_mage_meteor_burn::OnUnitExit(), areatrigger_pal_ashen_hallow::OnUnitExit(), areatrigger_pal_consecration::OnUnitExit(), areatrigger_sha_arctic_snowstorm::OnUnitExit(), at_bg_temple_of_kotmogu_small_area::OnUpdate(), areatrigger_mage_blizzard::OnUpdate(), areatrigger_pal_ashen_hallow::OnUpdate(), areatrigger_sha_earthquake::OnUpdate(), areatrigger_sha_wind_rush_totem::OnUpdate(), areatrigger_pal_ashen_hallow::RefreshPeriod(), areatrigger_pri_divine_star::ReturnToCaster(), areatrigger_pri_entropic_rift::UpdateMovement(), at_mana_devourer_energy_void::UpdateSize(), at_anduin_wrynn_befouled_barrier::UpdateSize(), at_anduin_wrynn_beacon_of_hope::UpdateSize(), at_anduin_wrynn_befouled_barrier::UpdateSizeBasedOnAbsorb(), at_anduin_wrynn_beacon_of_hope::UpdateSizeBasedOnCharges(), and areatrigger_pri_entropic_rift::UpdateTarget().