少年修仙传客户端代码仓库
client_Lhy
2019-06-27 2c6123a7605913bdbf3984b77fbe04446eb400c8
Lua/Gen/JobSetupConfigWrap.cs
@@ -21,8 +21,9 @@
        {
         ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
         System.Type type = typeof(JobSetupConfig);
         Utils.BeginObjectRegister(type, L, translator, 0, 0, 24, 0);
         Utils.BeginObjectRegister(type, L, translator, 0, 1, 25, 0);
         
         Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnConfigParseCompleted", _m_OnConfigParseCompleted);
         
         
         Utils.RegisterFunc(L, Utils.GETTER_IDX, "Job", _g_get_Job);
@@ -49,18 +50,20 @@
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "GainSkillList", _g_get_GainSkillList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "MoveLimitDist", _g_get_MoveLimitDist);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "RollBreakSkillList", _g_get_RollBreakSkillList);
            Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpertSkillEffect", _g_get_ExpertSkillEffect);
            
         
         
         Utils.EndObjectRegister(type, L, translator, null, null,
             null, null, null);
          Utils.BeginClassRegister(type, L, __CreateInstance, 6, 1, 0);
          Utils.BeginClassRegister(type, L, __CreateInstance, 7, 1, 0);
         Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetKeys", _m_GetKeys_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetValues", _m_GetValues_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Has", _m_Has_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "Init", _m_Init_xlua_st_);
            Utils.RegisterFunc(L, Utils.CLS_IDX, "GetExpertSkillChangeEffect", _m_GetExpertSkillChangeEffect_xlua_st_);
            
         
            
@@ -278,6 +281,58 @@
            }
            
            return LuaAPI.luaL_error(L, "invalid arguments to JobSetupConfig.Init!");
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_OnConfigParseCompleted(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                JobSetupConfig gen_to_be_invoked = (JobSetupConfig)translator.FastGetCSObj(L, 1);
                {
                    gen_to_be_invoked.OnConfigParseCompleted(  );
                    return 0;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
        }
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _m_GetExpertSkillChangeEffect_xlua_st_(RealStatePtr L)
        {
          try {
                {
                    int _mainSkillID = LuaAPI.xlua_tointeger(L, 1);
                        int gen_ret = JobSetupConfig.GetExpertSkillChangeEffect( _mainSkillID );
                        LuaAPI.xlua_pushinteger(L, gen_ret);
                    return 1;
                }
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            
        }
        
@@ -632,6 +687,20 @@
            return 1;
        }
        
        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
        static int _g_get_ExpertSkillEffect(RealStatePtr L)
        {
          try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                JobSetupConfig gen_to_be_invoked = (JobSetupConfig)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushstring(L, gen_to_be_invoked.ExpertSkillEffect);
            } catch(System.Exception gen_e) {
                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
            }
            return 1;
        }