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

Public Member Functions

 at_blood_prince_council_start_intro ()
 
bool OnTrigger (Player *player, AreaTriggerEntry const *, bool) override
 
- Public Member Functions inherited from ScriptObject
const std::string & GetName () const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

at_blood_prince_council_start_intro::at_blood_prince_council_start_intro ( )
inline
1662 : AreaTriggerScript("at_blood_prince_council_start_intro") { }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

bool at_blood_prince_council_start_intro::OnTrigger ( Player player,
AreaTriggerEntry const ,
bool   
)
inlineoverridevirtual

Reimplemented from AreaTriggerScript.

1665  {
1666  if (InstanceScript* instance = player->GetInstanceScript())
1667  if (Creature* bloodQueen = ObjectAccessor::GetCreature(*player, instance->GetGuidData(DATA_BLOOD_QUEEN_LANA_THEL_COUNCIL)))
1668  bloodQueen->AI()->DoAction(ACTION_START_INTRO);
1669 
1670  return true;
1671  }
Definition: Creature.h:467
Definition: boss_blood_prince_council.cpp:139
also used by conditions
Definition: icecrown_citadel.h:119
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: InstanceScript.h:141

+ Here is the call graph for this function:


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