static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { DCET.Model.AssetsBundleLoaderAsync gen_ret = new DCET.Model.AssetsBundleLoaderAsync(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to DCET.Model.AssetsBundleLoaderAsync constructor!")); }
static int _m_Dispose(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.AssetsBundleLoaderAsync gen_to_be_invoked = (DCET.Model.AssetsBundleLoaderAsync)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.Dispose( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_Update(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.AssetsBundleLoaderAsyncSystem gen_to_be_invoked = (DCET.Model.AssetsBundleLoaderAsyncSystem)translator.FastGetCSObj(L, 1); { DCET.Model.AssetsBundleLoaderAsync _self = (DCET.Model.AssetsBundleLoaderAsync)translator.GetObject(L, 2, typeof(DCET.Model.AssetsBundleLoaderAsync)); gen_to_be_invoked.Update(_self); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_LoadAsync(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); DCET.Model.AssetsBundleLoaderAsync gen_to_be_invoked = (DCET.Model.AssetsBundleLoaderAsync)translator.FastGetCSObj(L, 1); { string _path = LuaAPI.lua_tostring(L, 2); DCET.Model.ETTask <UnityEngine.AssetBundle> gen_ret = gen_to_be_invoked.LoadAsync(_path); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }