From eafd6cb0118f2732a50b2ae8c6e3f95eac1370d7 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 26 六月 2019 16:22:36 +0800
Subject: [PATCH] 7539 子 【开发】【2.0.100】增加自由设置技能释放顺序 / 【前端】【2.0.100】增加自由设置技能释放顺序
---
Lua/Gen/JobSetupConfigWrap.cs | 73 +++++++++++++++++++++++++++++++++++-
1 files changed, 71 insertions(+), 2 deletions(-)
diff --git a/Lua/Gen/JobSetupConfigWrap.cs b/Lua/Gen/JobSetupConfigWrap.cs
index 159bb4a..41e321c 100644
--- a/Lua/Gen/JobSetupConfigWrap.cs
+++ b/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;
+ }
+
--
Gitblit v1.8.0