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

Public Member Functions

 AreaTrigger_at_map_chamber ()
 
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

AreaTrigger_at_map_chamber::AreaTrigger_at_map_chamber ( )
inline
145  : AreaTriggerScript("at_map_chamber")
146  {
147  }
AreaTriggerScript(const char *name)
Definition: ScriptMgr.cpp:1598

Member Function Documentation

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

Reimplemented from AreaTriggerScript.

150  {
151  if (player->GetQuestStatus(QUEST_HIDDEN_CHAMBER) == QUEST_STATUS_INCOMPLETE)
152  player->AreaExploredOrEventHappens(QUEST_HIDDEN_CHAMBER);
153 
154  return true;
155  }
Definition: QuestDef.h:113
Definition: uldaman.cpp:137

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