static int _g_get_mVocation(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBDataAllSkill.OneVocationActiveSkillInfos __cl_gen_to_be_invoked = (xc.DBDataAllSkill.OneVocationActiveSkillInfos)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushuint(L, __cl_gen_to_be_invoked.mVocation); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_mSkills(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.DBDataAllSkill.OneVocationActiveSkillInfos __cl_gen_to_be_invoked = (xc.DBDataAllSkill.OneVocationActiveSkillInfos)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.mSkills = (System.Collections.Generic.Dictionary <xc.DBDataAllSkill.SET_SLOT_TYPE, System.Collections.Generic.List <xc.DBDataAllSkill.AllSkillInfo> >)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary <xc.DBDataAllSkill.SET_SLOT_TYPE, System.Collections.Generic.List <xc.DBDataAllSkill.AllSkillInfo> >)); } 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) == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { uint init_vocation = LuaAPI.xlua_touint(L, 2); xc.DBDataAllSkill.OneVocationActiveSkillInfos __cl_gen_ret = new xc.DBDataAllSkill.OneVocationActiveSkillInfos(init_vocation); 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.DBDataAllSkill.OneVocationActiveSkillInfos constructor!")); }
static int _m_AddSkillInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.DBDataAllSkill.OneVocationActiveSkillInfos __cl_gen_to_be_invoked = (xc.DBDataAllSkill.OneVocationActiveSkillInfos)translator.FastGetCSObj(L, 1); try { { xc.DBDataAllSkill.AllSkillInfo info = (xc.DBDataAllSkill.AllSkillInfo)translator.GetObject(L, 2, typeof(xc.DBDataAllSkill.AllSkillInfo)); __cl_gen_to_be_invoked.AddSkillInfo(info); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }