TrinityCore
Loading...
Searching...
No Matches
BattlegroundMapScript Class Reference

#include <ScriptMgr.h>

+ Inheritance diagram for BattlegroundMapScript:

Public Member Functions

 ~BattlegroundMapScript ()
 
virtual BattlegroundScriptGetBattlegroundScript (BattlegroundMap *map) const
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 
- Public Member Functions inherited from MapScript< BattlegroundMap >
 MapScript (MapScript const &right)=delete
 
 MapScript (MapScript &&right)=delete
 
MapScriptoperator= (MapScript const &right)=delete
 
MapScriptoperator= (MapScript &&right)=delete
 
MapEntry const * GetEntry () const
 
virtual void OnCreate (BattlegroundMap *map)
 
virtual void OnDestroy (BattlegroundMap *map)
 
virtual void OnPlayerEnter (BattlegroundMap *map, Player *player)
 
virtual void OnPlayerLeave (BattlegroundMap *map, Player *player)
 
virtual void OnUpdate (BattlegroundMap *map, uint32 diff)
 

Protected Member Functions

 BattlegroundMapScript (char const *name, uint32 mapId) noexcept
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name) noexcept
 
virtual ~ScriptObject ()
 
- Protected Member Functions inherited from MapScript< BattlegroundMap >
 MapScript (MapEntry const *mapEntry) noexcept
 

Detailed Description

Definition at line 374 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ BattlegroundMapScript()

BattlegroundMapScript::BattlegroundMapScript ( char const *  name,
uint32  mapId 
)
explicitprotectednoexcept

Definition at line 2589 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

◆ ~BattlegroundMapScript()

BattlegroundMapScript::~BattlegroundMapScript ( )
default

Member Function Documentation

◆ GetBattlegroundScript()

BattlegroundScript * BattlegroundMapScript::GetBattlegroundScript ( BattlegroundMap map) const
virtual

Reimplemented in GenericBattlegroundMapScript< Script >.

Definition at line 2603 of file ScriptMgr.cpp.


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