Package zombie.Lua
Class LuaManager
java.lang.Object
zombie.Lua.LuaManager
public class LuaManager
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LuaManager.GlobalObject
-
Field Summary
Fields Modifier and Type Field Description static CallbackManager
callbackManager
static LuaCaller
caller
static boolean
checksumDone
static KahluaConverterManager
converterManager
static LuaCaller
debugcaller
static KahluaThread
debugthread
static KahluaTable
env
static zombie.Lua.LuaManager.Exposer
exposer
static java.util.ArrayList
loaded
static java.util.HashMap
loadedReturn
static java.util.ArrayList
loadList
static J2SEPlatform
platform
static KahluaThread
thread
-
Constructor Summary
Constructors Constructor Description LuaManager()
-
Method Summary
Modifier and Type Method Description static void
call(java.lang.String func, java.lang.Object param1)
static KahluaTable
copyTable(KahluaTable orig)
static java.lang.String
createChecksum(java.lang.String filename)
static void
dropItem(InventoryItem i)
static void
fillContainer(ItemContainer container, IsoPlayer isoPlayer)
static void
fillContainerCount(ItemContainer container, IsoPlayer isoPlayer)
static java.lang.Object
get(java.lang.Object key)
static LuaClosure
getDotDelimitedClosure(java.lang.String path)
static java.lang.String
getHourMinuteJava()
static java.lang.String
getLuaCacheDir()
static java.lang.String
getSandboxCacheDir()
static void
init()
static void
LoadDir(java.lang.String path)
static void
LoadDirBase()
static void
LoadDirBase(java.lang.String sub)
static void
LoadDirBase(java.lang.String sub, boolean onlyChecksum)
static void
outputTable(KahluaTable t, int nTabs)
static java.lang.Object
RunLua(java.lang.String filename)
static java.lang.Object
RunLua(java.lang.String filename, boolean bRewriteEvents)
static void
searchFolders(java.io.File base, java.io.File fo)
static void
Test()
static void
updateOverlaySprite(IsoObject obj)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
converterManager
-
platform
-
env
-
thread
-
debugthread
-
caller
-
debugcaller
-
exposer
public static zombie.Lua.LuaManager.Exposer exposer -
loaded
public static java.util.ArrayList loaded -
loadedReturn
public static java.util.HashMap loadedReturn -
callbackManager
-
checksumDone
public static boolean checksumDone -
loadList
public static java.util.ArrayList loadList
-
-
Constructor Details
-
LuaManager
public LuaManager()
-
-
Method Details
-
outputTable
-
init
public static void init() -
LoadDir
public static void LoadDir(java.lang.String path) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
LoadDirBase
public static void LoadDirBase(java.lang.String sub) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
LoadDirBase
public static void LoadDirBase(java.lang.String sub, boolean onlyChecksum) throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
createChecksum
public static java.lang.String createChecksum(java.lang.String filename) -
LoadDirBase
public static void LoadDirBase() throws java.net.URISyntaxException- Throws:
java.net.URISyntaxException
-
searchFolders
public static void searchFolders(java.io.File base, java.io.File fo) throws java.io.IOException- Throws:
java.io.IOException
-
getLuaCacheDir
public static java.lang.String getLuaCacheDir() -
getSandboxCacheDir
public static java.lang.String getSandboxCacheDir() -
fillContainer
-
fillContainerCount
-
updateOverlaySprite
-
getDotDelimitedClosure
-
dropItem
-
RunLua
public static java.lang.Object RunLua(java.lang.String filename) -
RunLua
public static java.lang.Object RunLua(java.lang.String filename, boolean bRewriteEvents) -
Test
public static void Test() throws java.io.IOException- Throws:
java.io.IOException
-
get
public static java.lang.Object get(java.lang.Object key) -
call
public static void call(java.lang.String func, java.lang.Object param1) -
getHourMinuteJava
public static java.lang.String getHourMinuteJava() -
copyTable
-