#include "MovementHandlerScript.h"
◆ MovementHandlerScript()
MovementHandlerScript::MovementHandlerScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
27 :
29{
30
31 if (enabledHooks.empty())
33 enabledHooks.emplace_back(i);
34
36}
std::uint16_t uint16
Definition: Define.h:108
@ MOVEMENTHOOK_END
Definition: MovementHandlerScript.h:28
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:737
Definition: ScriptObject.h:44
References ScriptRegistry< TScript >::AddScript(), and MOVEMENTHOOK_END.
◆ OnPlayerMove()