static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { XLuaFramework.AssetsHotFixManager gen_ret = new XLuaFramework.AssetsHotFixManager(); 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 XLuaFramework.AssetsHotFixManager constructor!")); }
static int _m_OnExtractResource(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); XLuaFramework.AssetsHotFixManager gen_to_be_invoked = (XLuaFramework.AssetsHotFixManager)translator.FastGetCSObj(L, 1); { System.Action _on_ok = translator.GetDelegate <System.Action>(L, 2); System.Collections.IEnumerator gen_ret = gen_to_be_invoked.OnExtractResource(_on_ok); translator.PushAny(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_CheckExtractResource(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); XLuaFramework.AssetsHotFixManager gen_to_be_invoked = (XLuaFramework.AssetsHotFixManager)translator.FastGetCSObj(L, 1); { System.Action <float> _on_update = translator.GetDelegate <System.Action <float> >(L, 2); System.Action _on_ok = translator.GetDelegate <System.Action>(L, 3); gen_to_be_invoked.CheckExtractResource(_on_update, _on_ok); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }