static int _g_get_Name(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildSkill.DBGuildSkillItem __cl_gen_to_be_invoked = (xc.DBGuildSkill.DBGuildSkillItem)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, __cl_gen_to_be_invoked.Name); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_CurShowAttrArray(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildSkill.DBGuildSkillItem __cl_gen_to_be_invoked = (xc.DBGuildSkill.DBGuildSkillItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CurShowAttrArray = (System.Collections.Generic.List <System.Collections.Generic.List <uint> >)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <System.Collections.Generic.List <uint> >)); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _s_set_CurAttrId(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBGuildSkill.DBGuildSkillItem __cl_gen_to_be_invoked = (xc.DBGuildSkill.DBGuildSkillItem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.CurAttrId = 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.DBGuildSkill.DBGuildSkillItem __cl_gen_ret = new xc.DBGuildSkill.DBGuildSkillItem(); 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.DBGuildSkill.DBGuildSkillItem constructor!")); }
static int _m_GetOneItem(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBGuildSkill __cl_gen_to_be_invoked = (xc.DBGuildSkill)translator.FastGetCSObj(L, 1); try { { uint skill_id = LuaAPI.xlua_touint(L, 2); uint skill_level = LuaAPI.xlua_touint(L, 3); xc.DBGuildSkill.DBGuildSkillItem __cl_gen_ret = __cl_gen_to_be_invoked.GetOneItem(skill_id, skill_level); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }