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/SkillConfigWrap.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/Lua/Gen/SkillConfigWrap.cs b/Lua/Gen/SkillConfigWrap.cs
index e213b45..b82c64e 100644
--- a/Lua/Gen/SkillConfigWrap.cs
+++ b/Lua/Gen/SkillConfigWrap.cs
@@ -21,7 +21,7 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(SkillConfig);
-			Utils.BeginObjectRegister(type, L, translator, 0, 0, 74, 0);
+			Utils.BeginObjectRegister(type, L, translator, 0, 0, 75, 0);
 			
 			
 			
@@ -71,6 +71,7 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectValue61", _g_get_EffectValue61);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectValue62", _g_get_EffectValue62);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectValue63", _g_get_EffectValue63);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "LastTime6", _g_get_LastTime6);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "StateSkillLV", _g_get_StateSkillLV);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "LearnSkillReq", _g_get_LearnSkillReq);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "LearnSkillLV", _g_get_LearnSkillLV);
@@ -1217,6 +1218,20 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_LastTime6(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                SkillConfig gen_to_be_invoked = (SkillConfig)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.LastTime6);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_StateSkillLV(RealStatePtr L)
         {
 		    try {

--
Gitblit v1.8.0