#include "AccountScript.h"
◆ AccountScript()
AccountScript::AccountScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
67 :
69{
70
71 if (enabledHooks.empty())
73 enabledHooks.emplace_back(i);
74
76}
std::uint16_t uint16
Definition: Define.h:108
@ ACCOUNTHOOK_END
Definition: AccountScript.h:35
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:737
Definition: ScriptObject.h:44
References ACCOUNTHOOK_END, and ScriptRegistry< TScript >::AddScript().
◆ CanAccountCreateCharacter()
virtual bool AccountScript::CanAccountCreateCharacter |
( |
uint32 |
, |
|
|
uint8 |
, |
|
|
uint8 |
|
|
) |
| |
|
inlinevirtual |
◆ OnAccountLogin()
virtual void AccountScript::OnAccountLogin |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ OnBeforeAccountDelete()
virtual void AccountScript::OnBeforeAccountDelete |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ OnEmailChange()
virtual void AccountScript::OnEmailChange |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ OnFailedAccountLogin()
virtual void AccountScript::OnFailedAccountLogin |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ OnFailedEmailChange()
virtual void AccountScript::OnFailedEmailChange |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ OnFailedPasswordChange()
virtual void AccountScript::OnFailedPasswordChange |
( |
uint32 |
| ) |
|
|
inlinevirtual |
◆ OnLastIpUpdate()
virtual void AccountScript::OnLastIpUpdate |
( |
uint32 |
, |
|
|
std::string |
|
|
) |
| |
|
inlinevirtual |
◆ OnPasswordChange()
virtual void AccountScript::OnPasswordChange |
( |
uint32 |
| ) |
|
|
inlinevirtual |