static int _g_get_Current(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xpatch.ExtendPatchProgress __cl_gen_to_be_invoked = (xpatch.ExtendPatchProgress)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, __cl_gen_to_be_invoked.Current); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_PatchContext(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xpatch.ExtendPatchProgress __cl_gen_to_be_invoked = (xpatch.ExtendPatchProgress)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.PatchContext = (xpatch.DL_ExtendPatchContext)translator.GetObject(L, 2, typeof(xpatch.DL_ExtendPatchContext)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xpatch.ExtendPatchProgress __cl_gen_ret = new xpatch.ExtendPatchProgress(); translator.Push(L, __cl_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 xpatch.ExtendPatchProgress constructor!")); }
static int _m_Start(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xpatch.ExtendPatchProgress __cl_gen_to_be_invoked = (xpatch.ExtendPatchProgress)translator.FastGetCSObj(L, 1); try { { bool __cl_gen_ret = __cl_gen_to_be_invoked.Start( ); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetExtendPatchProgress(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xpatch.XPatchManager __cl_gen_to_be_invoked = (xpatch.XPatchManager)translator.FastGetCSObj(L, 1); try { { int patch_id = LuaAPI.xlua_tointeger(L, 2); xpatch.ExtendPatchProgress __cl_gen_ret = __cl_gen_to_be_invoked.GetExtendPatchProgress(patch_id); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }