static int _s_set_CostGoodsList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBSuit.DBSuitInfo __cl_gen_to_be_invoked = (xc.DBSuit.DBSuitInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CostGoodsList = (System.Collections.Generic.Dictionary <uint, System.Collections.Generic.List <xc.GoodsItem> >)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <uint, System.Collections.Generic.List <xc.GoodsItem> >)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_StarNeed(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBSuit.DBSuitInfo __cl_gen_to_be_invoked = (xc.DBSuit.DBSuitInfo)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.StarNeed = LuaAPI.xlua_touint(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_CostGoodsList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBSuit.DBSuitInfo __cl_gen_to_be_invoked = (xc.DBSuit.DBSuitInfo)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.CostGoodsList); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_PreviewName(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBSuit.DBSuitInfo __cl_gen_to_be_invoked = (xc.DBSuit.DBSuitInfo)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.PreviewName); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.DBSuit.DBSuitInfo __cl_gen_ret = new xc.DBSuit.DBSuitInfo(); 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.DBSuit.DBSuitInfo constructor!")); }
static int _m_GetCostGoods(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBSuit.DBSuitInfo __cl_gen_to_be_invoked = (xc.DBSuit.DBSuitInfo)translator.FastGetCSObj(L, 1); try { { uint pos = LuaAPI.xlua_touint(L, 2); System.Collections.Generic.List <xc.GoodsItem> __cl_gen_ret = __cl_gen_to_be_invoked.GetCostGoods(pos); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetOneInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBSuit __cl_gen_to_be_invoked = (xc.DBSuit)translator.FastGetCSObj(L, 1); try { { uint id = LuaAPI.xlua_touint(L, 2); uint lv = LuaAPI.xlua_touint(L, 3); xc.DBSuit.DBSuitInfo __cl_gen_ret = __cl_gen_to_be_invoked.GetOneInfo(id, lv); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }