static int _g_get_CostGoods(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBBaptizeCost.DBBaptizeCostInfo __cl_gen_to_be_invoked = (xc.DBBaptizeCost.DBBaptizeCostInfo)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.CostGoods); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_CostDiamond(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBBaptizeCost.DBBaptizeCostInfo __cl_gen_to_be_invoked = (xc.DBBaptizeCost.DBBaptizeCostInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CostDiamond = LuaAPI.xlua_touint(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_CostGoods(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBBaptizeCost.DBBaptizeCostInfo __cl_gen_to_be_invoked = (xc.DBBaptizeCost.DBBaptizeCostInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CostGoods = (System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <uint, uint> >)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <System.Collections.Generic.KeyValuePair <uint, uint> >)); } 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.DBBaptizeCost.DBBaptizeCostInfo __cl_gen_ret = new xc.DBBaptizeCost.DBBaptizeCostInfo(); 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.DBBaptizeCost.DBBaptizeCostInfo constructor!")); }
static int _m_GetOneInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBBaptizeCost __cl_gen_to_be_invoked = (xc.DBBaptizeCost)translator.FastGetCSObj(L, 1); try { { uint id = LuaAPI.xlua_touint(L, 2); xc.DBBaptizeCost.DBBaptizeCostInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetOneInfo(id); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }