Package zombie.Lua
Class LuaBackendClass
java.lang.Object
zombie.Lua.LuaBackendClass
- All Implemented Interfaces:
KahluaTable
public class LuaBackendClass extends java.lang.Object implements KahluaTable
-
Constructor Summary
Constructors Constructor Description LuaBackendClass(java.lang.String type)
-
Method Summary
Modifier and Type Method Description java.lang.Object
call(java.lang.String func)
java.lang.Object
call(java.lang.String func, java.lang.Object param1)
java.lang.Object
call(java.lang.String func, java.lang.Object param1, java.lang.Object param2)
java.lang.Object
call(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
java.lang.Object
call(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
java.lang.Object
call(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
boolean
callBool(java.lang.String func)
boolean
callBool(java.lang.String func, java.lang.Object param1)
boolean
callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2)
boolean
callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
boolean
callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
boolean
callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
float
callFloat(java.lang.String func)
float
callFloat(java.lang.String func, java.lang.Object param1)
float
callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2)
float
callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
float
callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
float
callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
int
callInt(java.lang.String func)
int
callInt(java.lang.String func, java.lang.Object param1)
int
callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2)
int
callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
int
callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
int
callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
void
callVoid(java.lang.String func)
void
callVoid(java.lang.String func, java.lang.Object param1)
void
callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2)
void
callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3)
void
callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4)
void
callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5)
KahluaTable
getMetatable()
java.lang.String
getString(java.lang.String string)
boolean
isEmpty()
KahluaTableIterator
iterator()
int
len()
void
load(java.io.DataInputStream input, int WorldVersion)
void
load(java.nio.ByteBuffer input, int WorldVersion)
java.lang.Object
rawget(int key)
java.lang.Object
rawget(java.lang.Object key)
void
rawset(int key, java.lang.Object value)
void
rawset(java.lang.Object key, java.lang.Object value)
void
save(java.io.DataOutputStream output)
void
save(java.nio.ByteBuffer output)
void
setMetatable(KahluaTable metatable)
int
size()
void
wipe()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LuaBackendClass
public LuaBackendClass(java.lang.String type)
-
-
Method Details
-
getString
public java.lang.String getString(java.lang.String string)- Specified by:
getString
in interfaceKahluaTable
-
callVoid
public void callVoid(java.lang.String func) -
callVoid
public void callVoid(java.lang.String func, java.lang.Object param1) -
callVoid
public void callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2) -
callVoid
public void callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
callVoid
public void callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
callVoid
public void callVoid(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
call
public java.lang.Object call(java.lang.String func) -
call
public java.lang.Object call(java.lang.String func, java.lang.Object param1) -
call
public java.lang.Object call(java.lang.String func, java.lang.Object param1, java.lang.Object param2) -
call
public java.lang.Object call(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
call
public java.lang.Object call(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
call
public java.lang.Object call(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
callInt
public int callInt(java.lang.String func) -
callInt
public int callInt(java.lang.String func, java.lang.Object param1) -
callInt
public int callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2) -
callInt
public int callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
callInt
public int callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
callInt
public int callInt(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
callFloat
public float callFloat(java.lang.String func) -
callFloat
public float callFloat(java.lang.String func, java.lang.Object param1) -
callFloat
public float callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2) -
callFloat
public float callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
callFloat
public float callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
callFloat
public float callFloat(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
callBool
public boolean callBool(java.lang.String func) -
callBool
public boolean callBool(java.lang.String func, java.lang.Object param1) -
callBool
public boolean callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2) -
callBool
public boolean callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3) -
callBool
public boolean callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4) -
callBool
public boolean callBool(java.lang.String func, java.lang.Object param1, java.lang.Object param2, java.lang.Object param3, java.lang.Object param4, java.lang.Object param5) -
setMetatable
- Specified by:
setMetatable
in interfaceKahluaTable
-
getMetatable
- Specified by:
getMetatable
in interfaceKahluaTable
-
rawset
public void rawset(java.lang.Object key, java.lang.Object value)- Specified by:
rawset
in interfaceKahluaTable
-
rawget
public java.lang.Object rawget(java.lang.Object key)- Specified by:
rawget
in interfaceKahluaTable
-
rawset
public void rawset(int key, java.lang.Object value)- Specified by:
rawset
in interfaceKahluaTable
-
rawget
public java.lang.Object rawget(int key)- Specified by:
rawget
in interfaceKahluaTable
-
len
public int len()- Specified by:
len
in interfaceKahluaTable
-
size
public int size()- Specified by:
size
in interfaceKahluaTable
-
iterator
- Specified by:
iterator
in interfaceKahluaTable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceKahluaTable
-
wipe
public void wipe()- Specified by:
wipe
in interfaceKahluaTable
-
save
public void save(java.nio.ByteBuffer output) throws java.io.IOException- Specified by:
save
in interfaceKahluaTable
- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer input, int WorldVersion) throws java.io.IOException- Specified by:
load
in interfaceKahluaTable
- Throws:
java.io.IOException
-
save
public void save(java.io.DataOutputStream output) throws java.io.IOException- Specified by:
save
in interfaceKahluaTable
- Throws:
java.io.IOException
-
load
public void load(java.io.DataInputStream input, int WorldVersion) throws java.io.IOException- Specified by:
load
in interfaceKahluaTable
- Throws:
java.io.IOException
-