Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
GameObjectScript Class Reference

#include <ScriptMgr.h>

Inheritance diagram for GameObjectScript:
Collaboration diagram for GameObjectScript:

Public Member Functions

virtual GameObjectAIGetAI (GameObject *) const
virtual uint32 GetDialogStatus (Player *, GameObject *)
bool IsDatabaseBound () const FINAL
virtual void OnDamaged (GameObject *, Player *)
virtual void OnDestroyed (GameObject *, Player *)
virtual bool OnDummyEffect (Unit *, uint32, SpellEffIndex, GameObject *)
virtual void OnGameObjectStateChanged (GameObject *, uint32)
virtual bool OnGossipHello (Player *, GameObject *)
virtual bool OnGossipSelect (Player *, GameObject *, uint32, uint32)
virtual bool OnGossipSelectCode (Player *, GameObject *, uint32, uint32, const char *)
virtual void OnLootStateChanged (GameObject *, uint32, Unit *)
virtual bool OnQuestAccept (Player *, GameObject *, Quest const *)
virtual bool OnQuestReward (Player *, GameObject *, Quest const *, uint32)
Public Member Functions inherited from ScriptObject
const std::string & GetName () const
Public Member Functions inherited from UpdatableScript< GameObject >
virtual void OnUpdate (GameObject *, uint32)

Protected Member Functions

 GameObjectScript (const char *name)
Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
virtual ~ScriptObject ()
Protected Member Functions inherited from UpdatableScript< GameObject >
 UpdatableScript ()
virtual ~UpdatableScript ()

Detailed Description

Definition at line 414 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ GameObjectScript()

GameObjectScript::GameObjectScript ( const char * name)
protected

Definition at line 1442 of file ScriptMgr.cpp.

References ScriptRegistry< TScript >::AddScript(), and ScriptObject::ScriptObject().

Referenced by containment_sphere::containment_sphere(), ElunaGameObjectScript::ElunaGameObjectScript(), gameobject_cage_trap::gameobject_cage_trap(), GenericGameObjectScript< AI >::GenericGameObjectScript(), go_acherus_soul_prison::go_acherus_soul_prison(), go_activation_crystal::go_activation_crystal(), go_altar_of_archaedas::go_altar_of_archaedas(), go_amberpine_outhouse::go_amberpine_outhouse(), go_apexis_relic::go_apexis_relic(), go_arcane_prison::go_arcane_prison(), go_atalai_statue::go_atalai_statue(), go_barov_journal::go_barov_journal(), go_barrel_old_hillsbrad::go_barrel_old_hillsbrad(), go_bashir_crystalforge::go_bashir_crystalforge(), go_blackfathom_altar::go_blackfathom_altar(), go_blackfathom_fire::go_blackfathom_fire(), go_blackhoof_cage::go_blackhoof_cage(), go_blood_filled_orb::go_blood_filled_orb(), go_bridge_console::go_bridge_console(), go_bristlelimb_cage::go_bristlelimb_cage(), go_broggok_lever::go_broggok_lever(), go_captain_tyralius_prison::go_captain_tyralius_prison(), go_cat_figurine::go_cat_figurine(), go_celestial_planetarium_access::go_celestial_planetarium_access(), go_corkis_prison::go_corkis_prison(), go_crystal_prison::go_crystal_prison(), go_crystalline_tear::go_crystalline_tear(), go_demon_portal::go_demon_portal(), go_dragonflayer_cage::go_dragonflayer_cage(), go_elune_fire::go_elune_fire(), go_ethereal_teleport_pad::go_ethereal_teleport_pad(), go_ethereum_prison::go_ethereum_prison(), go_ethereum_stasis::go_ethereum_stasis(), go_fel_crystalforge::go_fel_crystalforge(), go_field_repair_bot_74A::go_field_repair_bot_74A(), go_finklesteins_cauldron::go_finklesteins_cauldron(), go_frostblade_shrine::go_frostblade_shrine(), go_gauntlet_gate::go_gauntlet_gate(), go_gilded_brazier::go_gilded_brazier(), go_gjalerbron_cage::go_gjalerbron_cage(), go_gong::go_gong(), go_gundrak_altar::go_gundrak_altar(), go_harpoon_launcher::go_harpoon_launcher(), go_hive_pod::go_hive_pod(), go_inconspicuous_landmark::go_inconspicuous_landmark(), go_jotunheim_cage::go_jotunheim_cage(), go_jump_a_tron::go_jump_a_tron(), go_keystone_chamber::go_keystone_chamber(), go_large_gjalerbron_cage::go_large_gjalerbron_cage(), go_legion_obelisk::go_legion_obelisk(), go_loosely_turned_soil::go_loosely_turned_soil(), go_main_chambers_access_panel::go_main_chambers_access_panel(), go_manaforge_control_console::go_manaforge_control_console(), go_manticron_cube::go_manticron_cube(), go_massive_seaforium_charge::go_massive_seaforium_charge(), go_matrix_punchograph::go_matrix_punchograph(), go_midsummer_bonfire::go_midsummer_bonfire(), go_naga_brazier::go_naga_brazier(), go_najentus_spine::go_najentus_spine(), go_orb_of_command::go_orb_of_command(), go_orb_of_domination::go_orb_of_domination(), go_orb_of_the_blue_flight::go_orb_of_the_blue_flight(), go_ossirian_crystal::go_ossirian_crystal(), go_palehoof_sphere::go_palehoof_sphere(), go_princess_stillpines_cage::go_princess_stillpines_cage(), go_ravager_cage::go_ravager_cage(), go_razorscale_harpoon::go_razorscale_harpoon(), go_resonite_cask::go_resonite_cask(), go_sacred_fire_of_life::go_sacred_fire_of_life(), go_scourge_cage::go_scourge_cage(), go_scourge_enclosure::go_scourge_enclosure(), go_shadowforge_brazier::go_shadowforge_brazier(), go_shallow_grave::go_shallow_grave(), go_shrine_of_the_birds::go_shrine_of_the_birds(), go_simon_cluster::go_simon_cluster(), go_skull_pile::go_skull_pile(), go_southfury_moonstone::go_southfury_moonstone(), go_strange_pool::go_strange_pool(), go_table_theka::go_table_theka(), go_tablet_of_madness::go_tablet_of_madness(), go_tablet_of_the_seven::go_tablet_of_the_seven(), go_tadpole_cage::go_tadpole_cage(), go_tele_to_dalaran_crystal::go_tele_to_dalaran_crystal(), go_tele_to_violet_stand::go_tele_to_violet_stand(), go_thunderspike::go_thunderspike(), go_troll_cage::go_troll_cage(), go_twilight_portal::go_twilight_portal(), go_ulduar_tower::go_ulduar_tower(), go_veil_skith_cage::go_veil_skith_cage(), go_warmaul_prison::go_warmaul_prison(), go_wg_vehicle_teleporter::go_wg_vehicle_teleporter(), go_wind_stone::go_wind_stone(), GOHello_example_go_teleporter::GOHello_example_go_teleporter(), icecrown_citadel_teleport::icecrown_citadel_teleport(), kalecgos_teleporter::kalecgos_teleporter(), prince_taldaram_sphere::prince_taldaram_sphere(), and ulduar_teleporter::ulduar_teleporter().

Member Function Documentation

◆ GetAI()

virtual GameObjectAI * GameObjectScript::GetAI ( GameObject * ) const
inlinevirtual

◆ GetDialogStatus()

virtual uint32 GameObjectScript::GetDialogStatus ( Player * ,
GameObject *  )
inlinevirtual

Definition at line 441 of file ScriptMgr.h.

◆ IsDatabaseBound()

bool GameObjectScript::IsDatabaseBound ( ) const
inlinevirtual

Reimplemented from ScriptObject.

Definition at line 420 of file ScriptMgr.h.

References FINAL.

◆ OnDamaged()

virtual void GameObjectScript::OnDamaged ( GameObject * ,
Player *  )
inlinevirtual

Definition at line 447 of file ScriptMgr.h.

◆ OnDestroyed()

virtual void GameObjectScript::OnDestroyed ( GameObject * ,
Player *  )
inlinevirtual

Reimplemented in go_ulduar_tower.

Definition at line 444 of file ScriptMgr.h.

◆ OnDummyEffect()

virtual bool GameObjectScript::OnDummyEffect ( Unit * ,
uint32 ,
SpellEffIndex ,
GameObject *  )
inlinevirtual

Definition at line 423 of file ScriptMgr.h.

◆ OnGameObjectStateChanged()

virtual void GameObjectScript::OnGameObjectStateChanged ( GameObject * ,
uint32  )
inlinevirtual

Definition at line 453 of file ScriptMgr.h.

◆ OnGossipHello()

virtual bool GameObjectScript::OnGossipHello ( Player * ,
GameObject *  )
inlinevirtual

Reimplemented in containment_sphere, gameobject_cage_trap, go_acherus_soul_prison, go_activation_crystal, go_altar_of_archaedas, go_amberpine_outhouse, go_apexis_relic, go_arcane_prison, go_atalai_statue, go_barov_journal, go_barrel_old_hillsbrad, go_bashir_crystalforge, go_blackfathom_altar, go_blackfathom_fire, go_blackhoof_cage, go_blood_filled_orb, go_bridge_console, go_bristlelimb_cage, go_broggok_lever, go_captain_tyralius_prison, go_cat_figurine, go_corkis_prison, go_demon_portal, go_dragonflayer_cage, go_elune_fire, go_ethereal_teleport_pad, go_ethereum_prison, go_ethereum_stasis, go_fel_crystalforge, go_field_repair_bot_74A, go_finklesteins_cauldron, go_frostblade_shrine, go_gauntlet_gate, go_gilded_brazier, go_gjalerbron_cage, go_gong, go_gundrak_altar, go_harpoon_launcher, go_hive_pod, go_inconspicuous_landmark, go_jotunheim_cage, go_jump_a_tron, go_keystone_chamber, go_large_gjalerbron_cage, go_legion_obelisk, go_loosely_turned_soil, go_main_chambers_access_panel, go_manaforge_control_console, go_manticron_cube, go_massive_seaforium_charge, go_matrix_punchograph, go_naga_brazier, go_najentus_spine, go_orb_of_command, go_orb_of_domination, go_orb_of_the_blue_flight, go_ossirian_crystal, go_palehoof_sphere, go_princess_stillpines_cage, go_ravager_cage, go_razorscale_harpoon, go_resonite_cask, go_sacred_fire_of_life, go_scourge_cage, go_scourge_enclosure, go_shadowforge_brazier, go_shallow_grave, go_shrine_of_the_birds, go_simon_cluster, go_skull_pile, go_southfury_moonstone, go_strange_pool, go_table_theka, go_tablet_of_madness, go_tablet_of_the_seven, go_tadpole_cage, go_tele_to_dalaran_crystal, go_tele_to_violet_stand, go_thunderspike, go_troll_cage, go_veil_skith_cage, go_warmaul_prison, go_wind_stone, GOHello_example_go_teleporter, icecrown_citadel_teleport, kalecgos_teleporter, prince_taldaram_sphere, and ulduar_teleporter.

Definition at line 426 of file ScriptMgr.h.

◆ OnGossipSelect()

virtual bool GameObjectScript::OnGossipSelect ( Player * ,
GameObject * ,
uint32 ,
uint32  )
inlinevirtual

◆ OnGossipSelectCode()

virtual bool GameObjectScript::OnGossipSelectCode ( Player * ,
GameObject * ,
uint32 ,
uint32 ,
const char *  )
inlinevirtual

Definition at line 432 of file ScriptMgr.h.

◆ OnLootStateChanged()

virtual void GameObjectScript::OnLootStateChanged ( GameObject * ,
uint32 ,
Unit *  )
inlinevirtual

Definition at line 450 of file ScriptMgr.h.

◆ OnQuestAccept()

virtual bool GameObjectScript::OnQuestAccept ( Player * ,
GameObject * ,
Quest const *  )
inlinevirtual

Reimplemented in go_crystal_prison, and go_crystalline_tear.

Definition at line 435 of file ScriptMgr.h.

◆ OnQuestReward()

virtual bool GameObjectScript::OnQuestReward ( Player * ,
GameObject * ,
Quest const * ,
uint32  )
inlinevirtual

Definition at line 438 of file ScriptMgr.h.


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