AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ConditionScript Class Reference

#include "ScriptMgr.h"

Inheritance diagram for ConditionScript:
ScriptObject

Public Member Functions

bool IsDatabaseBound () const override
 
virtual bool OnConditionCheck (Condition *, ConditionSourceInfo &)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 

Protected Member Functions

 ConditionScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ ConditionScript()

ConditionScript::ConditionScript ( const char *  name)
protected
444 : ScriptObject(name)
445{
447}
Definition: ScriptMgr.h:107
static void AddScript(TScript *const script)
Definition: ScriptMgr.h:2708

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ IsDatabaseBound()

bool ConditionScript::IsDatabaseBound ( ) const
inlineoverridevirtual

Reimplemented from ScriptObject.

916{ return true; }

◆ OnConditionCheck()

virtual bool ConditionScript::OnConditionCheck ( Condition ,
ConditionSourceInfo  
)
inlinevirtual
919{ return true; }