From 2c6123a7605913bdbf3984b77fbe04446eb400c8 Mon Sep 17 00:00:00 2001
From: client_Lhy <995049470@qq.com>
Date: 星期四, 27 六月 2019 11:01:03 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
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