TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 ( )
inline
29 { }
virtual ZoneScript::~ZoneScript ( )
inlinevirtual
30 { }

Member Function Documentation

virtual uint32 ZoneScript::GetCreatureEntry ( ObjectGuid::LowType  ,
CreatureData const data 
)
inlinevirtual

Reimplemented in instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript.

32 { return data->id; }

+ Here is the caller graph for this function:

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_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, BattlefieldWG, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_karazhan::instance_karazhan_InstanceMapScript, Battlefield, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_shattered_halls::instance_shattered_halls_InstanceMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_sunken_temple::instance_sunken_temple_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_zulaman::instance_zulaman_InstanceScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_stonecore::instance_stonecore_InstanceScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_gnomeregan::instance_gnomeregan_InstanceMapScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript, instance_forge_of_souls::instance_forge_of_souls_InstanceScript, and instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript.

51 { return 0; }
virtual uint64 ZoneScript::GetData64 ( uint32  ) const
inlinevirtual

Reimplemented in Battlefield.

47 { return 0; }
virtual uint32 ZoneScript::GetGameObjectEntry ( ObjectGuid::LowType  ,
uint32  entry 
)
inlinevirtual
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_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_blackrock_spire::instance_blackrock_spireMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_shattered_halls::instance_shattered_halls_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, InstanceScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript, instance_zulgurub::instance_zulgurub_InstanceMapScript, instance_nexus::instance_nexus_InstanceMapScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_black_temple::instance_black_temple_InstanceMapScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_blood_furnace::instance_blood_furnace_InstanceMapScript, instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_gnomeregan::instance_gnomeregan_InstanceMapScript, instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript, instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript, instance_drak_tharon_keep::instance_drak_tharon_keep_InstanceScript, instance_halls_of_lightning::instance_halls_of_lightning_InstanceMapScript, instance_gruuls_lair::instance_gruuls_lair_InstanceMapScript, instance_zulaman::instance_zulaman_InstanceScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_the_eye::instance_the_eye_InstanceMapScript, instance_scholomance::instance_scholomance_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript, instance_forge_of_souls::instance_forge_of_souls_InstanceScript, instance_obsidian_sanctum::instance_obsidian_sanctum_InstanceMapScript, instance_ruins_of_ahnqiraj::instance_ruins_of_ahnqiraj_InstanceMapScript, instance_baradin_hold::instance_baradin_hold_InstanceMapScript, instance_vault_of_archavon::instance_vault_of_archavon_InstanceMapScript, and instance_the_botanica::instance_the_botanica_InstanceMapScript.

44 { return ObjectGuid::Empty; }
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
virtual void ZoneScript::OnCreatureCreate ( Creature )
inlinevirtual

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

35 { }

+ Here is the caller graph for this function:

virtual void ZoneScript::OnGameObjectCreate ( GameObject )
inlinevirtual

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

38 { }

+ Here is the caller graph for this function:

virtual void ZoneScript::OnGameObjectRemove ( GameObject )
inlinevirtual

Reimplemented in instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript, instance_ulduar::instance_ulduar_InstanceMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, OutdoorPvP, InstanceScript, instance_pit_of_saron::instance_pit_of_saron_InstanceScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, instance_oculus::instance_oculus_InstanceMapScript, instance_black_temple::instance_black_temple_InstanceMapScript, instance_blood_furnace::instance_blood_furnace_InstanceMapScript, instance_blackwing_lair::instance_blackwing_lair_InstanceMapScript, instance_utgarde_pinnacle::instance_utgarde_pinnacle_InstanceMapScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_shattered_halls::instance_shattered_halls_InstanceMapScript, instance_halls_of_stone::instance_halls_of_stone_InstanceMapScript, instance_zulgurub::instance_zulgurub_InstanceMapScript, instance_halls_of_origination::instance_halls_of_origination_InstanceMapScript, instance_gruuls_lair::instance_gruuls_lair_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_zulaman::instance_zulaman_InstanceScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_baradin_hold::instance_baradin_hold_InstanceMapScript, instance_halls_of_lightning::instance_halls_of_lightning_InstanceMapScript, instance_shadow_labyrinth::instance_shadow_labyrinth_InstanceMapScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, and instance_mechanar::instance_mechanar_InstanceMapScript.

39 { }

+ Here is the caller graph for this function:

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_trial_of_the_crusader::instance_trial_of_the_crusader_InstanceMapScript, instance_violet_hold::instance_violet_hold_InstanceMapScript, instance_naxxramas::instance_naxxramas_InstanceMapScript, instance_uldaman::instance_uldaman_InstanceMapScript, instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript, instance_blackrock_spire::instance_blackrock_spireMapScript, Battlefield, instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript, instance_eye_of_eternity::instance_eye_of_eternity_InstanceMapScript, instance_gundrak::instance_gundrak_InstanceMapScript, instance_zulfarrak::instance_zulfarrak_InstanceMapScript, instance_blackrock_depths::instance_blackrock_depths_InstanceMapScript, instance_stratholme::instance_stratholme_InstanceMapScript, instance_deadmines::instance_deadmines_InstanceMapScript, instance_blackwing_lair::instance_blackwing_lair_InstanceMapScript, instance_sunken_temple::instance_sunken_temple_InstanceMapScript, instance_utgarde_keep::instance_utgarde_keep_InstanceMapScript, instance_the_black_morass::instance_the_black_morass_InstanceMapScript, instance_hyjal::instance_mount_hyjal_InstanceMapScript, instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript, instance_onyxias_lair::instance_onyxias_lair_InstanceMapScript, instance_culling_of_stratholme::instance_culling_of_stratholme_InstanceMapScript, instance_shadowfang_keep::instance_shadowfang_keep_InstanceMapScript, instance_temple_of_ahnqiraj::instance_temple_of_ahnqiraj_InstanceMapScript, instance_stonecore::instance_stonecore_InstanceScript, instance_karazhan::instance_karazhan_InstanceMapScript, instance_zulaman::instance_zulaman_InstanceScript, instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript, instance_ahnkahet::instance_ahnkahet_InstanceScript, instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript, instance_steam_vault::instance_steam_vault_InstanceMapScript, instance_blackfathom_deeps::instance_blackfathom_deeps_InstanceMapScript, instance_arcatraz::instance_arcatraz_InstanceMapScript, instance_razorfen_downs::instance_razorfen_downs_InstanceMapScript, instance_scarlet_monastery::instance_scarlet_monastery_InstanceMapScript, instance_gnomeregan::instance_gnomeregan_InstanceMapScript, instance_molten_core::instance_molten_core_InstanceMapScript, instance_razorfen_kraul::instance_razorfen_kraul_InstanceMapScript, instance_magisters_terrace::instance_magisters_terrace_InstanceMapScript, and instance_wailing_caverns::instance_wailing_caverns_InstanceMapScript.

52 { }
virtual void ZoneScript::SetData64 ( uint32  ,
uint64   
)
inlinevirtual

Reimplemented in Battlefield.

48 { }

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