Package zombie.Lua
Class LuaHookManager
java.lang.Object
zombie.Lua.LuaHookManager
- All Implemented Interfaces:
JavaFunction
public final class LuaHookManager extends java.lang.Object implements JavaFunction
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList
OnTickCallbacks
-
Constructor Summary
Constructors Constructor Description LuaHookManager()
-
Method Summary
Modifier and Type Method Description static void
AddEvent(java.lang.String name)
int
call(LuaCallFrame callFrame, int nArguments)
static void
clear()
static void
register(Platform platform, KahluaTable environment)
static void
Reset()
static boolean
TriggerHook(java.lang.String event)
static boolean
TriggerHook(java.lang.String event, java.lang.Object param1)
static boolean
TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2)
static boolean
TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
static boolean
TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
static boolean
TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
static boolean
TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5, java.lang.Object param6)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
OnTickCallbacks
public static java.util.ArrayList OnTickCallbacks
-
-
Constructor Details
-
LuaHookManager
public LuaHookManager()
-
-
Method Details
-
TriggerHook
public static boolean TriggerHook(java.lang.String event) -
TriggerHook
public static boolean TriggerHook(java.lang.String event, java.lang.Object param1) -
TriggerHook
public static boolean TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2) -
TriggerHook
public static boolean TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
TriggerHook
public static boolean TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
TriggerHook
public static boolean TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
TriggerHook
public static boolean TriggerHook(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5, java.lang.Object param6) -
AddEvent
public static void AddEvent(java.lang.String name) -
clear
public static void clear() -
register
-
call
- Specified by:
call
in interfaceJavaFunction
-
Reset
public static void Reset()
-