TrinityCore
FactoryGameObjectScript< AI, AIFactory > Class Template Reference

#include <ScriptMgr.h>

+ Inheritance diagram for FactoryGameObjectScript< AI, AIFactory >:

Public Member Functions

 FactoryGameObjectScript (char const *name)
 
GameObjectAIGetAI (GameObject *me) const override
 
- Public Member Functions inherited from GameObjectScript
 ~GameObjectScript ()
 
virtual GameObjectAIGetAI (GameObject *go) const =0
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from GameObjectScript
 GameObjectScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

template<class AI, AI *(*)(GameObject *) AIFactory>
class FactoryGameObjectScript< AI, AIFactory >

Definition at line 1401 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ FactoryGameObjectScript()

template<class AI , AI *(*)(GameObject *) AIFactory>
FactoryGameObjectScript< AI, AIFactory >::FactoryGameObjectScript ( char const *  name)
inline

Definition at line 1404 of file ScriptMgr.h.

Member Function Documentation

◆ GetAI()

template<class AI , AI *(*)(GameObject *) AIFactory>
GameObjectAI * FactoryGameObjectScript< AI, AIFactory >::GetAI ( GameObject me) const
inlineoverridevirtual

Implements GameObjectScript.

Definition at line 1405 of file ScriptMgr.h.


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