static int _s_set_RunActionWhenRiding(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGrowSkin.DBGrowSkinItem __cl_gen_to_be_invoked = (xc.DBGrowSkin.DBGrowSkinItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.RunActionWhenRiding = LuaAPI.lua_tostring(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_UnlockGrowLevel(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGrowSkin.DBGrowSkinItem __cl_gen_to_be_invoked = (xc.DBGrowSkin.DBGrowSkinItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.UnlockGrowLevel = 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_AttrArray(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGrowSkin.DBGrowSkinItem __cl_gen_to_be_invoked = (xc.DBGrowSkin.DBGrowSkinItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.AttrArray = (System.Collections.Generic.List <xc.DBTextResource.DBAttrItem>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <xc.DBTextResource.DBAttrItem>)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_SceneModelOffset(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGrowSkin.DBGrowSkinItem __cl_gen_to_be_invoked = (xc.DBGrowSkin.DBGrowSkinItem)translator.FastGetCSObj(L, 1); translator.PushUnityEngineVector3(L, __cl_gen_to_be_invoked.SceneModelOffset); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _g_get_AttrArray(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGrowSkin.DBGrowSkinItem __cl_gen_to_be_invoked = (xc.DBGrowSkin.DBGrowSkinItem)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.AttrArray); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_GetOffset(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGrowSkin.DBGrowSkinItem __cl_gen_to_be_invoked = (xc.DBGrowSkin.DBGrowSkinItem)translator.FastGetCSObj(L, 1); UnityEngine.Vector3 __cl_gen_value; translator.Get(L, 2, out __cl_gen_value); __cl_gen_to_be_invoked.GetOffset = __cl_gen_value; } 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.DBGrowSkin.DBGrowSkinItem __cl_gen_ret = new xc.DBGrowSkin.DBGrowSkinItem(); 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.DBGrowSkin.DBGrowSkinItem constructor!")); }
static int _m_GetOneSkinInfoByGoodsId(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBGrowSkin __cl_gen_to_be_invoked = (xc.DBGrowSkin)translator.FastGetCSObj(L, 1); try { { uint goods_id = LuaAPI.xlua_touint(L, 2); xc.DBGrowSkin.DBGrowSkinItem __cl_gen_ret = __cl_gen_to_be_invoked.GetOneSkinInfoByGoodsId(goods_id); 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_GetNextDegreeItem(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBGrowSkin __cl_gen_to_be_invoked = (xc.DBGrowSkin)translator.FastGetCSObj(L, 1); try { { uint grow_type = LuaAPI.xlua_touint(L, 2); uint cur_grow_level = LuaAPI.xlua_touint(L, 3); xc.DBGrowSkin.DBGrowSkinItem __cl_gen_ret = __cl_gen_to_be_invoked.GetNextDegreeItem(grow_type, cur_grow_level); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }