TrinityCore
Loading...
Searching...
No Matches
SelectableAI< O, AI, is_db_allowed > Struct Template Reference

#include <SelectableAI.h>

+ Inheritance diagram for SelectableAI< O, AI, is_db_allowed >:

Public Member Functions

 SelectableAI (std::string const &name)
 
bool IsScriptNameAllowedInDB () const final override
 
- Public Member Functions inherited from FactoryHolder< AI, O >
 FactoryHolder (std::string const &k)
 
virtual ~FactoryHolder ()
 
void RegisterSelf ()
 
virtual AI * Create (O *object=nullptr) const=0
 Abstract Factory create method.
 
- Public Member Functions inherited from Permissible< O >
virtual ~Permissible ()
 
virtual int32 Permit (O const *) const=0
 
- Public Member Functions inherited from DBPermit
virtual ~DBPermit ()
 

Additional Inherited Members

- Public Types inherited from FactoryHolder< AI, O >
typedef ObjectRegistry< FactoryHolder< AI, O, std::string >, std::string > FactoryHolderRegistry
 

Detailed Description

template<class O, class AI, bool is_db_allowed = true>
struct SelectableAI< O, AI, is_db_allowed >

Definition at line 31 of file SelectableAI.h.

Constructor & Destructor Documentation

◆ SelectableAI()

template<class O , class AI , bool is_db_allowed = true>
SelectableAI< O, AI, is_db_allowed >::SelectableAI ( std::string const &  name)
inline

Definition at line 33 of file SelectableAI.h.

Member Function Documentation

◆ IsScriptNameAllowedInDB()

template<class O , class AI , bool is_db_allowed = true>
bool SelectableAI< O, AI, is_db_allowed >::IsScriptNameAllowedInDB ( ) const
inlinefinaloverridevirtual

Implements DBPermit.

Definition at line 35 of file SelectableAI.h.


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