static int _g_get_StepId(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.Task.StepProgress __cl_gen_to_be_invoked = (xc.Task.StepProgress)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.StepId); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_CurrentValue(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.Task.StepProgress __cl_gen_to_be_invoked = (xc.Task.StepProgress)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CurrentValue = LuaAPI.xlua_touint(L, 2); } 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) { xc.Task.StepProgress __cl_gen_ret = new xc.Task.StepProgress(); 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 xc.Task.StepProgress constructor!")); }
static int _m_CompareTo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.Task.StepProgress __cl_gen_to_be_invoked = (xc.Task.StepProgress)translator.FastGetCSObj(L, 1); try { { object obj = translator.GetObject(L, 2, typeof(object)); int __cl_gen_ret = __cl_gen_to_be_invoked.CompareTo(obj); LuaAPI.xlua_pushinteger(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetStepProgress(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.Task __cl_gen_to_be_invoked = (xc.Task)translator.FastGetCSObj(L, 1); try { { int stepIndex = LuaAPI.xlua_tointeger(L, 2); xc.Task.StepProgress __cl_gen_ret = __cl_gen_to_be_invoked.GetStepProgress(stepIndex); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }