Package zombie.Lua
Class LuaEventManager
java.lang.Object
zombie.Lua.LuaEventManager
- All Implemented Interfaces:
JavaFunction
public final class LuaEventManager extends java.lang.Object implements JavaFunction
-
Field Summary
Fields Modifier and Type Field Description static java.util.ArrayList
OnTickCallbacks
-
Constructor Summary
Constructors Constructor Description LuaEventManager()
-
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
reroute(Prototype prototype, LuaClosure luaClosure)
static void
Reset()
static void
triggerEvent(java.lang.String event)
static void
triggerEvent(java.lang.String event, java.lang.Object param1)
static void
triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2)
static void
triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
static void
triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
static void
triggerEvent(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 void
triggerEvent(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)
static void
triggerEventGarbage(java.lang.String event, java.lang.Object param1)
static void
triggerEventGarbage(java.lang.String event, java.lang.Object param1, java.lang.Object param2)
static void
triggerEventGarbage(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
static void
triggerEventGarbage(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
static void
triggerEventUnique(java.lang.String event, java.lang.Object param1)
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
-
LuaEventManager
public LuaEventManager()
-
-
Method Details
-
triggerEvent
public static void triggerEvent(java.lang.String event) -
triggerEvent
public static void triggerEvent(java.lang.String event, java.lang.Object param1) -
triggerEventGarbage
public static void triggerEventGarbage(java.lang.String event, java.lang.Object param1) -
triggerEventUnique
public static void triggerEventUnique(java.lang.String event, java.lang.Object param1) -
triggerEvent
public static void triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2) -
triggerEventGarbage
public static void triggerEventGarbage(java.lang.String event, java.lang.Object param1, java.lang.Object param2) -
triggerEvent
public static void triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
triggerEventGarbage
public static void triggerEventGarbage(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
triggerEvent
public static void triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
triggerEventGarbage
public static void triggerEventGarbage(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
triggerEvent
public static void triggerEvent(java.lang.String event, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
triggerEvent
public static void triggerEvent(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
-
reroute
-
Reset
public static void Reset()
-