AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
at_tyrannus_event_starter Class Reference
Inheritance diagram for at_tyrannus_event_starter:
AreaTriggerScript ScriptObject

Public Member Functions

 at_tyrannus_event_starter ()
 
bool OnTrigger (Player *player, const AreaTrigger *) override
 
- Public Member Functions inherited from AreaTriggerScript
bool IsDatabaseBound () const override
 
virtual bool OnTrigger (Player *, AreaTrigger const *)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Additional Inherited Members

- Protected Member Functions inherited from AreaTriggerScript
 AreaTriggerScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ at_tyrannus_event_starter()

at_tyrannus_event_starter::at_tyrannus_event_starter ( )
inline
1465: AreaTriggerScript("at_tyrannus_event_starter") { }
Definition: AreaTriggerScript.h:24

Member Function Documentation

◆ OnTrigger()

bool at_tyrannus_event_starter::OnTrigger ( Player player,
const AreaTrigger  
)
inlineoverridevirtual

Reimplemented from AreaTriggerScript.

1468 {
1469 InstanceScript* inst = player->GetInstanceScript();
1470 if (!inst)
1471 return false;
1472
1474 return false;
1475
1477 {
1479 c->GetMotionMaster()->MovePoint(0, TSMidPos);
1480
1482 }
1483
1484 return false;
1485 }
const Position TSMidPos
Definition: pit_of_saron.h:280
@ NPC_GORKUN_IRONSKULL_2
Definition: pit_of_saron.h:115
const Position TSSpawnPos
Definition: pit_of_saron.h:279
@ INSTANCE_PROGRESS_TYRANNUS_INTRO
Definition: pit_of_saron.h:62
@ INSTANCE_PROGRESS_AFTER_TUNNEL_WARN
Definition: pit_of_saron.h:61
@ DATA_ICK
Definition: pit_of_saron.h:31
@ DATA_MARTIN_OR_GORKUN_GUID
Definition: pit_of_saron.h:44
@ DATA_GARFROST
Definition: pit_of_saron.h:30
@ DATA_TYRANNUS
Definition: pit_of_saron.h:32
@ DATA_INSTANCE_PROGRESS
Definition: trial_of_the_champion.h:33
@ DONE
Definition: InstanceScript.h:60
Definition: Creature.h:43
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
Definition: InstanceScript.h:142
ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:98
Map * instance
Definition: InstanceScript.h:148
TempSummon * SummonCreature(uint32 entry, Position const &pos, SummonPropertiesEntry const *properties=nullptr, uint32 duration=0, WorldObject *summoner=nullptr, uint32 spellId=0, uint32 vehId=0, bool visibleBySummonerOnly=false)
Definition: Object.cpp:2163
virtual uint32 GetData(uint32) const
Definition: ZoneScript.h:51
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52

References DATA_GARFROST, DATA_ICK, DATA_INSTANCE_PROGRESS, DATA_MARTIN_OR_GORKUN_GUID, DATA_TYRANNUS, DONE, ZoneScript::GetData(), InstanceScript::GetGuidData(), WorldObject::GetInstanceScript(), InstanceScript::instance, INSTANCE_PROGRESS_AFTER_TUNNEL_WARN, INSTANCE_PROGRESS_TYRANNUS_INTRO, NPC_GORKUN_IRONSKULL_2, ZoneScript::SetData(), Map::SummonCreature(), TSMidPos, and TSSpawnPos.