TrinityCore
Loading...
Searching...
No Matches
OnlyOnceAreaTriggerScript Class Referenceabstract

#include <ScriptMgr.h>

+ Inheritance diagram for OnlyOnceAreaTriggerScript:

Public Member Functions

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

Protected Member Functions

virtual bool TryHandleOnce (Player *player, AreaTriggerEntry const *trigger)=0
 
void ResetAreaTriggerDone (InstanceScript *instance, uint32 triggerId)
 
void ResetAreaTriggerDone (Player const *player, AreaTriggerEntry const *trigger)
 
- Protected Member Functions inherited from AreaTriggerScript
 AreaTriggerScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Private Member Functions

 AreaTriggerScript (char const *name)
 

Detailed Description

Definition at line 438 of file ScriptMgr.h.

Member Function Documentation

◆ AreaTriggerScript()

AreaTriggerScript::AreaTriggerScript ( char const *  name)
explicitprivate

Definition at line 430 of file ScriptMgr.cpp.

◆ OnTrigger()

bool OnlyOnceAreaTriggerScript::OnTrigger ( Player player,
AreaTriggerEntry const *  trigger 
)
finaloverridevirtual

Reimplemented from AreaTriggerScript.

Definition at line 2413 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

◆ ResetAreaTriggerDone() [1/2]

void OnlyOnceAreaTriggerScript::ResetAreaTriggerDone ( InstanceScript instance,
uint32  triggerId 
)
protected

Definition at line 2425 of file ScriptMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ResetAreaTriggerDone() [2/2]

void OnlyOnceAreaTriggerScript::ResetAreaTriggerDone ( Player const *  player,
AreaTriggerEntry const *  trigger 
)
protected

Definition at line 2426 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

◆ TryHandleOnce()

virtual bool OnlyOnceAreaTriggerScript::TryHandleOnce ( Player player,
AreaTriggerEntry const *  trigger 
)
protectedpure virtual

Implemented in at_the_dead_scar, at_witchs_sanctum, at_baltharus_plateau, at_lady_deathwhisper_entrance, at_lord_marrowgar_entrance, at_anubrekhan_entrance, at_faerlina_entrance, at_thaddius_entrance, at_teron_gorefiend_entrance, at_zulgurub_entrance, and at_icc_nerubar_broodkeeper.

+ Here is the caller graph for this function:

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