From 1f91e5df63dc91e3b77caeee3c820b8e52a02485 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期六, 25 五月 2019 16:19:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Lua/Gen/TaskFeedbackConfigWrap.cs | 71 ++++++++++++++++++++++++++++++++++-
1 files changed, 69 insertions(+), 2 deletions(-)
diff --git a/Lua/Gen/TaskFeedbackConfigWrap.cs b/Lua/Gen/TaskFeedbackConfigWrap.cs
index 1c665af..2fe9cfa 100644
--- a/Lua/Gen/TaskFeedbackConfigWrap.cs
+++ b/Lua/Gen/TaskFeedbackConfigWrap.cs
@@ -21,7 +21,7 @@
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(TaskFeedbackConfig);
- Utils.BeginObjectRegister(type, L, translator, 0, 0, 9, 0);
+ Utils.BeginObjectRegister(type, L, translator, 0, 0, 11, 0);
@@ -31,7 +31,11 @@
Utils.RegisterFunc(L, Utils.GETTER_IDX, "equips", _g_get_equips);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "items", _g_get_items);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sideTasks", _g_get_sideTasks);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRoot", _g_get_reikiRoot);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "succGuide", _g_get_succGuide);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "jump", _g_get_jump);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "failFuncs", _g_get_failFuncs);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "remind", _g_get_remind);
@@ -364,17 +368,80 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_reikiRoot(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1);
+ LuaAPI.lua_pushstring(L, gen_to_be_invoked.reikiRoot);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_succGuide(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1);
- translator.Push(L, gen_to_be_invoked.succGuide);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.succGuide);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_jump(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jump);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_failFuncs(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1);
+ LuaAPI.lua_pushstring(L, gen_to_be_invoked.failFuncs);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_remind(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ TaskFeedbackConfig gen_to_be_invoked = (TaskFeedbackConfig)translator.FastGetCSObj(L, 1);
+ translator.Push(L, gen_to_be_invoked.remind);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+
+
+
+
+
+
}
}
--
Gitblit v1.8.0