TrinityCore
Loading...
Searching...
No Matches
GenericBattlegroundMapScript< Script > Class Template Reference

#include <ScriptMgr.h>

+ Inheritance diagram for GenericBattlegroundMapScript< Script >:

Public Member Functions

 GenericBattlegroundMapScript (char const *name, uint32 mapId) noexcept
 
BattlegroundScriptGetBattlegroundScript (BattlegroundMap *map) const override
 
- Public Member Functions inherited from BattlegroundMapScript
 ~BattlegroundMapScript ()
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from BattlegroundMapScript
 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

template<class Script>
class GenericBattlegroundMapScript< Script >

Definition at line 1440 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ GenericBattlegroundMapScript()

template<class Script >
GenericBattlegroundMapScript< Script >::GenericBattlegroundMapScript ( char const *  name,
uint32  mapId 
)
inlinenoexcept

Definition at line 1443 of file ScriptMgr.h.

Member Function Documentation

◆ GetBattlegroundScript()

template<class Script >
BattlegroundScript * GenericBattlegroundMapScript< Script >::GetBattlegroundScript ( BattlegroundMap map) const
inlineoverridevirtual

Reimplemented from BattlegroundMapScript.

Definition at line 1445 of file ScriptMgr.h.


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