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

Public Member Functions

 at_icc_start_blood_quickening ()
 
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_icc_start_blood_quickening::at_icc_start_blood_quickening ( )
inline
2133 : AreaTriggerScript("at_icc_start_blood_quickening") { }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

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

Reimplemented from AreaTriggerScript.

2136  {
2137  if (InstanceScript* instance = player->GetInstanceScript())
2138  if (instance->GetData(DATA_BLOOD_QUICKENING_STATE) == NOT_STARTED)
2139  instance->SetData(DATA_BLOOD_QUICKENING_STATE, IN_PROGRESS);
2140  return true;
2141  }
Definition: InstanceScript.h:59
Definition: InstanceScript.h:58
Definition: icecrown_citadel.h:105
Definition: InstanceScript.h:141

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