TrinityCore
CreatureScript Class Referenceabstract

#include <ScriptMgr.h>

Public Member Functions

 ~CreatureScript ()
 
virtual CreatureAIGetAI (Creature *creature) const =0
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Protected Member Functions

 CreatureScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 429 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ CreatureScript()

CreatureScript::CreatureScript ( char const *  name)
explicitprotected

Definition at line 2646 of file ScriptMgr.cpp.

2647 : ScriptObject(name)
2648{
2650}
ScriptObject(ScriptObject const &right)=delete
static ScriptRegistry * Instance()
Definition: ScriptMgr.cpp:325
+ Here is the call graph for this function:

◆ ~CreatureScript()

CreatureScript::~CreatureScript ( )
default

Member Function Documentation

◆ GetAI()

virtual CreatureAI * CreatureScript::GetAI ( Creature creature) const
pure virtual

Implemented in npc_torloth_the_magnificent, npc_lord_illidan_stormrage, npc_illidari_spawn, npc_wg_give_promotion_credit, boss_alizabal, boss_occuthar, npc_eyestalk, npc_fire_cyclone, npc_twilight_flame_caller, npc_twilight_torturer, npc_twilight_sadist, npc_mad_prisoner, npc_crazed_mage, npc_raz_the_crazed, npc_chains_of_woe, boss_ascendant_lord_obsidius, boss_beauty, boss_corla, boss_karsh_steelbender, boss_romogg_bonecrusher, npc_grimstone, npc_phalanx, npc_lokhtos_darkbargainer, npc_rocknot, boss_ambassador_flamelash, boss_emperor_dagran_thaurissan, boss_general_angerforge, boss_high_interrogator_gerstahn, boss_magmus, npc_ironhand_guardian, boss_moira_bronzebeard, boss_gloomrel, boss_doomrel, boss_the_beast, npc_blastmaster_emi_shortfuse, boss_grubbis, boss_curator, npc_curator_astral_flare, boss_maiden_of_virtue, boss_attumen, boss_midnight, boss_moroes, boss_baroness_dorothea_millstipe, boss_baron_rafe_dreuger, boss_lady_catriona_von_indi, boss_lady_keira_berrybuck, boss_lord_robin_daris, boss_lord_crispin_ference, boss_netherspite, boss_nightbane, netherspite_infernal, boss_malchezaar, boss_shade_of_aran, npc_aran_elemental, boss_terestian_illhoof, npc_kilrek, npc_demon_chain, npc_fiendish_portal, npc_fiendish_imp, boss_dorothee, npc_tito, boss_strawman, boss_tinhead, boss_roar, boss_crone, npc_cyclone, npc_grandmother, boss_bigbadwolf, boss_julianne, boss_romulo, npc_barnes, npc_image_of_medivh, boss_priestess_delrissa, boss_kagani_nightstrike, boss_ellris_duskhallow, boss_eramas_brightblaze, boss_yazzai, boss_warlord_salaris, boss_garaxxas, boss_apoko, boss_zelfan, boss_selin_fireheart, npc_fel_crystal, boss_vexallus, npc_pure_energy, npc_kalecgos, npc_unworthy_initiate, npc_unworthy_initiate_anchor, npc_death_knight_initiate, npc_salanar_the_horseman, npc_ros_dark_rider, npc_dkc1_gothik, npc_scarlet_courier, npc_a_special_surprise, npc_highlord_darion_mograine, npc_the_lich_king_tirion_dawn, npc_valkyr_battle_maiden, boss_darkmaster_gandling, boss_death_knight_darkreaver, boss_doctor_theolen_krastinov, boss_illucia_barov, boss_instructor_malicia, boss_jandice_barov, boss_kirtonos_the_herald, boss_kormok, boss_lord_alexei_barov, boss_lorekeeper_polkelt, boss_boss_ras_frostwhisper, boss_the_ravenian, boss_vectus, boss_cannon_master_willey, boss_dathrohan_balnazzar, boss_magistrate_barthilas, boss_maleki_the_pallid, boss_nerubenkan, boss_silver_hand_bosses, boss_postmaster_malown, boss_ramstein_the_gorger, boss_timmy_the_cruel, npc_restless_soul, npc_spectral_ghostly_citizen, boss_sacrolash, boss_alythess, npc_shadow_image, boss_kalecgos_kj, npc_kiljaeden_controller, boss_kiljaeden, npc_hand_of_the_deceiver, npc_felfire_portal, npc_volatile_felfire_fiend, npc_armageddon, npc_shield_orb, npc_sinster_reflection, boss_archaedas, npc_archaedas_minions, npc_stonekeepers, npc_frozen_mountaineer, npc_wounded_coldridge_mountaineer, npc_wounded_milita, npc_milos_gyro, boss_twilight_corrupter, npc_sharpbeak, npc_dumpy_and_keeshan, npc_big_earl, npc_bridge_worker_alex, npc_redridge_citizen, npc_lady_sylvanas_windrunner, npc_highborne_lamenter, boss_akilzon, boss_daakara, boss_halazzi, boss_hexlord_malacrass, boss_janalai, boss_nalorakk, npc_voljin_zulaman, boss_jindo_the_godbreaker, boss_zanzil, npc_winterfin_playmate, npc_the_biggest_tree, npc_high_oracle_soo_roo, npc_elder_kekek, npc_the_etymidian, npc_alexstraza_the_lifebinder, npc_cw_area_trigger, npc_grizzlemaw_cw_trigger, boss_anetheron, npc_towering_infernal, npc_ancient_wisp, npc_doomfire, npc_doomfire_targetting, boss_archimonde, boss_azgalor, npc_lesser_doomguard, boss_kazrogal, boss_rage_winterchill, npc_jaina_proudmoore, npc_thrall, npc_tyrande_whisperwind, npc_giant_infernal, npc_abomination, npc_ghoul, npc_necromancer, npc_banshee, npc_crypt_fiend, npc_fel_stalker, npc_frost_wyrm, npc_gargoyle, alliance_rifleman, boss_epoch, boss_infinite_corruptor, boss_mal_ganis, boss_meathook, boss_salramm, npc_hearthsinger_forresten_cot, npc_chromie_start, npc_chromie_middle, npc_martha_goslin, npc_jena_anderson, npc_bartleby_battson, npc_malcolm_moore, npc_sergeant_morigan, npc_roger_owens, npc_crate_helper, npc_arthas_stratholme, npc_harbinger_of_flame, npc_blazing_monstrosity, npc_molten_barrage, npc_egg_pile, celebras_the_cursed, boss_landslide, boss_noxxion, boss_princess_theradras, boss_amnennar_the_coldbringer, boss_glutton, boss_mordresh_fire_eye, boss_tuten_kash, npc_belnistrasz, npc_idol_room_spawner, npc_tomb_creature, npc_willix, npc_snufflenose_gopher, boss_ayamiss, npc_hive_zara_larva, boss_buru, npc_buru_egg, boss_kurinnaxx, boss_moam, boss_ossirian, boss_rajaxx, boss_kri, boss_vem, boss_yauj, boss_eye_of_cthun, boss_cthun, npc_eye_tentacle, npc_claw_tentacle, npc_giant_claw_tentacle, npc_giant_eye_tentacle, npc_giant_flesh_tentacle, boss_fankriss, boss_huhuran, boss_ouro, boss_sartura, npc_sartura_royal_guard, boss_skeram, boss_veknilash, boss_veklor, boss_viscidus, npc_glob_of_viscidus, npc_anubisath_sentinel, npc_disciple_of_naralex, npc_ruul_snowhoof, npc_muglash, npc_draenei_survivor, npc_engineer_spark_overgrind, npc_injured_draenei, npc_magwin, npc_geezle, npc_sironas, npc_demolitionist_legoso, npc_aged_dying_ancient_kodo, npc_lazy_peon, npc_whisperwind_lasher, npc_eagle_spirit, npc_anachronos_the_ancient, npc_qiraj_war_spawn, npc_anachronos_quest_trigger, npc_tooga, npc_taskmaster_fizzule, npc_twiggy_flathead, npc_wizzlecrank_shredder, npc_cairne_bloodhoof, npc_ranshalla, boss_zum_rah, npc_sergeant_bly, npc_weegli_blastfuse, boss_corborus, npc_rock_borer, boss_high_priestess_azil, npc_devout_follower, npc_gravity_well, npc_seismic_shard, boss_ozruk, boss_slabhide, npc_lava_fissure, npc_stalactite_trigger, npc_sc_millhouse_manastorm, boss_halion, boss_twilight_halion, npc_halion_controller, npc_orb_carrier, npc_meteor_strike_initial, npc_meteor_strike, npc_meteor_strike_flame, npc_combustion_consumption, npc_living_inferno, npc_living_ember, boss_eadric, boss_paletress, npc_memory, npc_argent_soldier, boss_black_knight, npc_risen_ghoul, npc_black_knight_skeletal_gryphon, generic_vehicleAI_toc5, boss_warrior_toc5, boss_mage_toc5, boss_shaman_toc5, boss_hunter_toc5, boss_rouge_toc5, npc_announcer_toc5, boss_falric, boss_marwyn, npc_jaina_or_sylvanas_intro_hor, npc_jaina_or_sylvanas_escape_hor, npc_the_lich_king_escape_hor, npc_ghostly_priest, npc_phantom_mage, npc_phantom_hallucination, npc_shadowy_mercenary, npc_spectral_footman, npc_tortured_rifleman, npc_frostsworn_general, npc_spiritual_reflection, npc_raging_ghoul, npc_risen_witch_doctor, npc_lumbering_abomination, npc_uther_quel_delar, npc_quel_delar_sword, npc_gunship, npc_gunship_boarding_add, npc_arthas_teleport_visual, boss_steelbreaker, boss_runemaster_molgeim, boss_stormcaller_brundir, boss_flame_leviathan, boss_flame_leviathan_seat, boss_flame_leviathan_defense_cannon, boss_flame_leviathan_defense_turret, boss_flame_leviathan_overload_device, boss_flame_leviathan_safety_container, npc_mechanolift, npc_pool_of_tar, npc_colossus, npc_thorims_hammer, npc_mimirons_inferno, npc_hodirs_fury, npc_freyas_ward, npc_freya_ward_summon, npc_brann_bronzebeard_ulduar_intro, npc_lorekeeper, npc_iron_roots, boss_freya, boss_elder_brightleaf, boss_elder_stonebark, boss_elder_ironbranch, npc_detonating_lasher, npc_ancient_water_spirit, npc_storm_lasher, npc_snaplasher, npc_ancient_conservator, npc_sun_beam, npc_healthy_spore, npc_eonars_gift, npc_nature_bomb, npc_unstable_sun_beam, boss_general_vezax, boss_saronite_animus, npc_saronite_vapors, npc_flash_freeze, npc_ice_block, boss_hodir, npc_icicle, npc_snowpacked_icicle, npc_hodir_priest, npc_hodir_shaman, npc_hodir_druid, npc_hodir_mage, npc_toasty_fire, boss_ignis, npc_iron_construct, npc_scorch_ground, boss_kologarn, boss_mimiron, boss_leviathan_mk_ii, boss_vx_001, boss_aerial_command_unit, npc_mimiron_assault_bot, npc_mimiron_emergency_fire_bot, npc_mimiron_computer, npc_mimiron_flames, npc_mimiron_frost_bomb, npc_mimiron_proximity_mine, boss_thorim, npc_thorim_pre_phase, npc_thorim_arena_phase, npc_runic_colossus, npc_ancient_rune_giant, npc_sif, boss_voice_of_yogg_saron, boss_sara, boss_yogg_saron, boss_brain_of_yogg_saron, npc_ominous_cloud, npc_guardian_of_yogg_saron, npc_corruptor_tentacle, npc_constrictor_tentacle, npc_crusher_tentacle, npc_influence_tentacle, npc_descend_into_madness, npc_immortal_guardian, npc_observation_ring_keeper, npc_yogg_saron_keeper, npc_yogg_saron_illusions, npc_garona, npc_turned_champion, npc_laughing_skull, boss_hydromancer_thespia, npc_coilfang_waterelemental, boss_mekgineer_steamrigger, npc_steamrigger_mechanic, npc_naga_distiller, boss_warlord_kalithresh, boss_gruul, boss_high_king_maulgar, boss_olm_the_summoner, boss_kiggler_the_crazed, boss_blindeye_the_seer, boss_krosh_firehand, boss_broggok, boss_kelidan_the_breaker, npc_shadowmoon_channeler, boss_the_maker, boss_omor_the_unscarred, boss_nazan, boss_vazruden, boss_vazruden_the_herald, npc_hellfire_sentry, boss_watchkeeper_gargolmar, boss_grand_warlock_nethekurse, npc_fel_orc_convert, npc_lesser_shadow_fissure, boss_warbringer_omrogg, npc_omrogg_heads, boss_warchief_kargath_bladefist, boss_shattered_executioner, boss_thorngrin_the_tender, npc_nether_drake, npc_simon_bunny, npc_oscillating_frequency_scanner_master_bunny, npc_colonel_jules, npc_barada, npc_magister_aledis, npc_maghar_captive, npc_kurenai_captive, npc_nagrand_banner, npc_commander_dawnforge, npc_phase_hunter, npc_invis_infernal_caster, npc_infernal_attacker, npc_mature_netherwing_drake, npc_enslaved_netherwing_drake, npc_earthmender_wilda, npc_enraged_spirit, npc_shadowmoon_tuber_node, npc_unkor_the_ruthless, npc_dream_fog, boss_ysondre, boss_lethon, npc_spirit_shade, boss_emeriss, boss_taerar, npc_prof_alchemy, npc_prof_blacksmith, npc_engineering_tele_trinket, npc_prof_leather, npc_prof_tailor, npc_air_force_bots, npc_chicken_cluck, npc_torch_tossing_target_bunny_controller, npc_midsummer_bunny_pole, npc_doctor, npc_injured_patient, npc_garments_of_quests, npc_guardian, npc_steam_tonk, npc_tournament_mount, npc_brewfest_reveler, npc_wormhole, npc_spring_rabbit, npc_imp_in_a_ball, npc_train_wrecker, npc_argent_squire_gruntling, npc_bountiful_table, GenericCreatureScript< AI >, FactoryCreatureScript< AI, AIFactory >, and npc_snowfall_glade_playmate.


The documentation for this class was generated from the following files: