static int IntToEnum(IntPtr L) { int arg0 = (int)LuaDLL.lua_tonumber(L, 1); Nova.AssetCacheType o = (Nova.AssetCacheType)arg0; ToLua.Push(L, o); return(1); }
static int Unpreload(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Nova.AssetCacheType arg0 = (Nova.AssetCacheType)ToLua.CheckObject(L, 1, typeof(Nova.AssetCacheType)); string arg1 = ToLua.CheckString(L, 2); Nova.AssetLoader.Unpreload(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static void Push(IntPtr L, Nova.AssetCacheType arg) { ToLua.Push(L, arg); }