TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GameObjectScript Class Reference

#include <ScriptMgr.h>

Public Member Functions

virtual bool OnDummyEffect (Unit *, uint32, SpellEffIndex, GameObject *)
 
virtual bool OnGossipHello (Player *, GameObject *)
 
virtual bool OnGossipSelect (Player *, GameObject *, uint32, uint32)
 
virtual bool OnGossipSelectCode (Player *, GameObject *, uint32, uint32, const char *)
 
virtual bool OnQuestAccept (Player *, GameObject *, Quest const *)
 
virtual bool OnQuestReward (Player *, GameObject *, Quest const *, uint32)
 
virtual uint32 GetDialogStatus (Player *, GameObject *)
 
virtual void OnDestroyed (GameObject *, Player *)
 
virtual void OnDamaged (GameObject *, Player *)
 
virtual void OnLootStateChanged (GameObject *, uint32, Unit *)
 
virtual void OnGameObjectStateChanged (GameObject *, uint32)
 
virtual GameObjectAIGetAI (GameObject *) const
 
- 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 ()
 

Constructor & Destructor Documentation

GameObjectScript::GameObjectScript ( const char *  name)
protected
1593  : ScriptObject(name)
1594 {
1596 }
static void AddScript(TScript *const script, bool addToDeleteContainer=true)
Definition: ScriptMgr.cpp:111
ScriptObject(const char *name)
Definition: ScriptMgr.h:159

+ Here is the call graph for this function:

Member Function Documentation

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

Reimplemented in go_twilight_portal, go_toy_train_set, go_celestial_planetarium_access, go_soulwell, and go_wg_vehicle_teleporter.

484 { return NULL; }
arena_t NULL
Definition: jemalloc_internal.h:624
virtual uint32 GameObjectScript::GetDialogStatus ( Player ,
GameObject  
)
inlinevirtual
Definition: QuestDef.h:136
virtual void GameObjectScript::OnDamaged ( GameObject ,
Player  
)
inlinevirtual
475 { }
virtual void GameObjectScript::OnDestroyed ( GameObject ,
Player  
)
inlinevirtual

Reimplemented in go_ulduar_tower.

472 { }
virtual bool GameObjectScript::OnDummyEffect ( Unit ,
uint32  ,
SpellEffIndex  ,
GameObject  
)
inlinevirtual
451 { return false; }
virtual void GameObjectScript::OnGameObjectStateChanged ( GameObject ,
uint32   
)
inlinevirtual
481 { }
virtual bool GameObjectScript::OnGossipHello ( Player ,
GameObject  
)
inlinevirtual

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

454 { return false; }
virtual bool GameObjectScript::OnGossipSelect ( Player ,
GameObject ,
uint32  ,
uint32   
)
inlinevirtual
virtual bool GameObjectScript::OnGossipSelectCode ( Player ,
GameObject ,
uint32  ,
uint32  ,
const char *   
)
inlinevirtual
460 { return false; }
virtual void GameObjectScript::OnLootStateChanged ( GameObject ,
uint32  ,
Unit  
)
inlinevirtual
478 { }
virtual bool GameObjectScript::OnQuestAccept ( Player ,
GameObject ,
Quest const  
)
inlinevirtual

Reimplemented in go_crystal_prison, and go_crystalline_tear.

463 { return false; }
virtual bool GameObjectScript::OnQuestReward ( Player ,
GameObject ,
Quest const ,
uint32   
)
inlinevirtual

Reimplemented in go_loosely_turned_soil.

466 { return false; }

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