static int _s_set_Enable(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.Enable = LuaAPI.lua_toboolean(L, 2); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(0); }
static int _g_get_DataSkillsInfoArray(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); translator.Push(L, __cl_gen_to_be_invoked.DataSkillsInfoArray); } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(1); }
static int _s_set_DataSkillsUsingArray(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); __cl_gen_to_be_invoked.DataSkillsUsingArray = (System.Collections.Generic.List <Net.PkgSkillsPos>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <Net.PkgSkillsPos>)); } 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.RockCommandSystem __cl_gen_ret = new xc.RockCommandSystem(); 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.RockCommandSystem constructor!")); }
static int _m_RefreshSkillLevel(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.RefreshSkillLevel( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_RemoveFromNewLearnSkillList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); try { { uint skill_total_id = LuaAPI.xlua_touint(L, 2); __cl_gen_to_be_invoked.RemoveFromNewLearnSkillList(skill_total_id); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_AddSkillList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); try { { System.Collections.Generic.List <Net.PkgSkillsOne> add_skills = (System.Collections.Generic.List <Net.PkgSkillsOne>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List <Net.PkgSkillsOne>)); __cl_gen_to_be_invoked.AddSkillList(add_skills); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_IsLearnedSkill(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); try { { uint skill_total_id = LuaAPI.xlua_touint(L, 2); bool __cl_gen_ret = __cl_gen_to_be_invoked.IsLearnedSkill(skill_total_id); LuaAPI.lua_pushboolean(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetSetTotalSkillId_bySkillPos(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); try { { uint pos = LuaAPI.xlua_touint(L, 2); uint __cl_gen_ret = __cl_gen_to_be_invoked.GetSetTotalSkillId_bySkillPos(pos); LuaAPI.xlua_pushuint(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetOneSkillsInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.RockCommandSystem __cl_gen_to_be_invoked = (xc.RockCommandSystem)translator.FastGetCSObj(L, 1); try { { uint id = LuaAPI.xlua_touint(L, 2); Net.PkgSkillsOne __cl_gen_ret = __cl_gen_to_be_invoked.GetOneSkillsInfo(id); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }