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

Public Member Functions

 at_icc_start_blood_quickening ()
 
bool OnTrigger (Player *player, AreaTrigger const *) 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_icc_start_blood_quickening()

at_icc_start_blood_quickening::at_icc_start_blood_quickening ( )
inline
2240: AreaTriggerScript("at_icc_start_blood_quickening") { }
Definition: AreaTriggerScript.h:24

Member Function Documentation

◆ OnTrigger()

bool at_icc_start_blood_quickening::OnTrigger ( Player player,
AreaTrigger const *   
)
inlineoverridevirtual

Reimplemented from AreaTriggerScript.

2243 {
2244 if (InstanceScript* instance = player->GetInstanceScript())
2245 instance->SetData(DATA_BLOOD_QUICKENING_STATE, IN_PROGRESS);
2246 return true;
2247 }
@ DATA_BLOOD_QUICKENING_STATE
Definition: icecrown_citadel.h:119
@ IN_PROGRESS
Definition: InstanceScript.h:58
InstanceScript * GetInstanceScript() const
Definition: Object.cpp:1192
Definition: InstanceScript.h:142

References DATA_BLOOD_QUICKENING_STATE, WorldObject::GetInstanceScript(), and IN_PROGRESS.