static int DiffSnapshot(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); FirClient.Manager.ResourceManager obj = (FirClient.Manager.ResourceManager)ToLua.CheckObject <FirClient.Manager.ResourceManager>(L, 1); obj.DiffSnapshot(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int InitResManifest(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); FirClient.Manager.ResourceManager obj = (FirClient.Manager.ResourceManager)ToLua.CheckObject <FirClient.Manager.ResourceManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); System.Action arg1 = (System.Action)ToLua.CheckDelegate <System.Action>(L, 3); obj.InitResManifest(arg0, arg1); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int LoadAssetAsync(IntPtr L) { try { ToLua.CheckArgsCount(L, 5); FirClient.Manager.ResourceManager obj = (FirClient.Manager.ResourceManager)ToLua.CheckObject <FirClient.Manager.ResourceManager>(L, 1); string arg0 = ToLua.CheckString(L, 2); string[] arg1 = ToLua.CheckStringArray(L, 3); System.Type arg2 = ToLua.CheckMonoType(L, 4); LuaFunction arg3 = ToLua.CheckLuaFunction(L, 5); obj.LoadAssetAsync(arg0, arg1, arg2, arg3); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int _CreateFirClient_Manager_ResourceManager(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { FirClient.Manager.ResourceManager obj = new FirClient.Manager.ResourceManager(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: FirClient.Manager.ResourceManager.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }