#include "AchievementScript.h"
◆ AchievementScript()
AchievementScript::AchievementScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
49{
50
51 if (enabledHooks.empty())
53 enabledHooks.emplace_back(i);
54
56}
std::uint16_t uint16
Definition: Define.h:108
@ ACHIEVEMENTHOOK_END
Definition: AchievementScript.h:33
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43
References ACHIEVEMENTHOOK_END, and ScriptRegistry< TScript >::AddScript().
◆ CanCheckCriteria()
◆ IsCompletedCriteria()
◆ IsDatabaseBound()
bool AchievementScript::IsDatabaseBound |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ IsRealmCompleted()
◆ OnBeforeCheckCriteria()
◆ SetRealmCompleted()