TrinityCore
ZoneScript Class Reference

#include <ZoneScript.h>

Public Member Functions

 ZoneScript ()
 
virtual ~ZoneScript ()
 
virtual uint32 GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data)
 
virtual uint32 GetGameObjectEntry (ObjectGuid::LowType, uint32 entry)
 
virtual void OnCreatureCreate (Creature *)
 
virtual void OnCreatureRemove (Creature *)
 
virtual void OnGameObjectCreate (GameObject *)
 
virtual void OnGameObjectRemove (GameObject *)
 
virtual void OnUnitDeath (Unit *)
 
virtual ObjectGuid GetGuidData (uint32) const
 
virtual void SetGuidData (uint32, ObjectGuid)
 
virtual uint64 GetData64 (uint32) const
 
virtual void SetData64 (uint32, uint64)
 
virtual uint32 GetData (uint32) const
 
virtual void SetData (uint32, uint32)
 
virtual void ProcessEvent (WorldObject *, uint32)
 

Constructor & Destructor Documentation

◆ ZoneScript()

ZoneScript::ZoneScript ( )
inline
33 { }

◆ ~ZoneScript()

virtual ZoneScript::~ZoneScript ( )
inlinevirtual
34 { }
+ Here is the call graph for this function:

Member Function Documentation

◆ GetCreatureEntry()

◆ GetData()

virtual uint32 ZoneScript::GetData ( uint32  ) const
inlinevirtual

Reimplemented in instance_ulduar::instance_ulduar_InstanceMapScript, instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, BattlefieldWG, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, Battlefield, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_shattered_halls::instance_shattered_halls_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_sunken_temple::instance_sunken_temple_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_zulaman::instance_zulaman_InstanceScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_black_temple::instance_black_temple_InstanceMapScript, instance_stonecore::instance_stonecore_InstanceScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_azjol_nerub::instance_azjol_nerub_InstanceScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_forge_of_souls::instance_forge_of_souls_InstanceScript, instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript, and instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript.

56 { return 0; }
+ Here is the caller graph for this function:

◆ GetData64()

virtual uint64 ZoneScript::GetData64 ( uint32  ) const
inlinevirtual

Reimplemented in Battlefield.

52 { return 0; }

◆ GetGameObjectEntry()

virtual uint32 ZoneScript::GetGameObjectEntry ( ObjectGuid::LowType  ,
uint32  entry 
)
inlinevirtual

Reimplemented in instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, and instance_blackwing_lair::instance_blackwing_lair_InstanceMapScript.

37 { return entry; }
+ Here is the caller graph for this function:

◆ GetGuidData()

virtual ObjectGuid ZoneScript::GetGuidData ( uint32  ) const
inlinevirtual

Reimplemented in instance_ulduar::instance_ulduar_InstanceMapScript, instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, instance_uldaman::instance_uldaman_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_blackrock_spire::instance_blackrock_spireMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, InstanceScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_shattered_halls::instance_shattered_halls_InstanceMapScript, instance_nexus::instance_nexus_InstanceMapScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_blood_furnace::instance_blood_furnace_InstanceMapScript, instance_zulgurub::instance_zulgurub_InstanceMapScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript, instance_zulaman::instance_zulaman_InstanceScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript, instance_the_eye::instance_the_eye_InstanceMapScript, instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript, instance_forge_of_souls::instance_forge_of_souls_InstanceScript, instance_scholomance::instance_scholomance_InstanceMapScript, instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript, instance_halls_of_lightning::instance_halls_of_lightning_InstanceMapScript, instance_gnomeregan::instance_gnomeregan_InstanceMapScript, instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript, instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript, instance_firelands::instance_firelands_InstanceScript, instance_baradin_hold::instance_baradin_hold_InstanceMapScript, instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript, instance_the_slave_pens::instance_the_slave_pens_InstanceMapScript, instance_gruuls_lair::instance_gruuls_lair_InstanceMapScript, and instance_the_botanica::instance_the_botanica_InstanceMapScript.

48 { return ObjectGuid::Empty; }
static ObjectGuid const Empty
Definition: ObjectGuid.h:255

◆ OnCreatureCreate()

virtual void ZoneScript::OnCreatureCreate ( Creature )
inlinevirtual

Reimplemented in BattlefieldTB, instance_uldaman::instance_uldaman_InstanceMapScript, BattlefieldWG, instance_ulduar::instance_ulduar_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, OutdoorPvP, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, InstanceScript, instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_black_temple::instance_black_temple_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_shattered_halls::instance_shattered_halls_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript, instance_blackwing_lair::instance_blackwing_lair_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_stonecore::instance_stonecore_InstanceScript, instance_gundrak::instance_gundrak_InstanceMapScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_the_eye::instance_the_eye_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript, instance_antorus_the_burning_throne::instance_antorus_the_burning_throne_InstanceMapScript, instance_blackrock_spire::instance_blackrock_spireMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_gruuls_lair::instance_gruuls_lair_InstanceMapScript, instance_blood_furnace::instance_blood_furnace_InstanceMapScript, instance_forge_of_souls::instance_forge_of_souls_InstanceScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_zulaman::instance_zulaman_InstanceScript, instance_sethekk_halls::instance_sethekk_halls_InstanceMapScript, instance_the_slave_pens::instance_the_slave_pens_InstanceMapScript, instance_gnomeregan::instance_gnomeregan_InstanceMapScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_baradin_hold::instance_baradin_hold_InstanceMapScript, instance_zulgurub::instance_zulgurub_InstanceMapScript, instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript, instance_halls_of_lightning::instance_halls_of_lightning_InstanceMapScript, instance_nexus::instance_nexus_InstanceMapScript, instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript, instance_firelands::instance_firelands_InstanceScript, instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript, instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript, and instance_the_botanica::instance_the_botanica_InstanceMapScript.

39 { }
+ Here is the caller graph for this function:

◆ OnCreatureRemove()

◆ OnGameObjectCreate()

virtual void ZoneScript::OnGameObjectCreate ( GameObject )
inlinevirtual

Reimplemented in BattlefieldTB, instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_ulduar::instance_ulduar_InstanceMapScript, BattlefieldWG, instance_violet_hold::instance_violet_hold_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, OutdoorPvP, instance_stratholme::instance_stratholme_InstanceMapScript, InstanceScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_blackrock_spire::instance_blackrock_spireMapScript, instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, instance_blackwing_lair::instance_blackwing_lair_InstanceMapScript, instance_black_temple::instance_black_temple_InstanceMapScript, instance_uldaman::instance_uldaman_InstanceMapScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_nexus::instance_nexus_InstanceMapScript, instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript, instance_gundrak::instance_gundrak_InstanceMapScript, instance_sunken_temple::instance_sunken_temple_InstanceMapScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_zulaman::instance_zulaman_InstanceScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript, instance_blood_furnace::instance_blood_furnace_InstanceMapScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_halls_of_lightning::instance_halls_of_lightning_InstanceMapScript, instance_razorfen_downs::instance_razorfen_downs_InstanceMapScript, instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript, instance_baradin_hold::instance_baradin_hold_InstanceMapScript, instance_stonecore::instance_stonecore_InstanceScript, instance_gnomeregan::instance_gnomeregan_InstanceMapScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_razorfen_kraul::instance_razorfen_kraul_InstanceMapScript, instance_firelands::instance_firelands_InstanceScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, instance_scholomance::instance_scholomance_InstanceMapScript, and instance_ramparts::instance_ramparts_InstanceMapScript.

42 { }
+ Here is the caller graph for this function:

◆ OnGameObjectRemove()

◆ OnUnitDeath()

◆ ProcessEvent()

◆ SetData()

virtual void ZoneScript::SetData ( uint32  ,
uint32   
)
inlinevirtual

Reimplemented in instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_ulduar::instance_ulduar_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, instance_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, instance_uldaman::instance_uldaman_InstanceMapScript, Battlefield, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_blackrock_spire::instance_blackrock_spireMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_gundrak::instance_gundrak_InstanceMapScript, instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_blackwing_lair::instance_blackwing_lair_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_sunken_temple::instance_sunken_temple_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_black_temple::instance_black_temple_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_stonecore::instance_stonecore_InstanceScript, instance_zulaman::instance_zulaman_InstanceScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_azjol_nerub::instance_azjol_nerub_InstanceScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_razorfen_downs::instance_razorfen_downs_InstanceMapScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, instance_razorfen_kraul::instance_razorfen_kraul_InstanceMapScript, and instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript.

57 { }

◆ SetData64()

virtual void ZoneScript::SetData64 ( uint32  ,
uint64   
)
inlinevirtual

Reimplemented in Battlefield.

53 { }

◆ SetGuidData()


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