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/SnxxzUIReikiRootModelWrap.cs | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/Lua/Gen/SnxxzUIReikiRootModelWrap.cs b/Lua/Gen/SnxxzUIReikiRootModelWrap.cs
index 173cc14..8cf43986 100644
--- a/Lua/Gen/SnxxzUIReikiRootModelWrap.cs
+++ b/Lua/Gen/SnxxzUIReikiRootModelWrap.cs
@@ -21,7 +21,7 @@
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(Snxxz.UI.ReikiRootModel);
- Utils.BeginObjectRegister(type, L, translator, 0, 22, 17, 8);
+ Utils.BeginObjectRegister(type, L, translator, 0, 23, 19, 10);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
@@ -32,6 +32,7 @@
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootFreePoint", _m_GetReikiRootFreePoint);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTotalWashPoint", _m_GetTotalWashPoint);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootTotalPoint", _m_GetReikiRootTotalPoint);
+ Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootTotalPointWithFree", _m_GetReikiRootTotalPointWithFree);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootRecommendPoint", _m_GetReikiRootRecommendPoint);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetQualityPoint", _m_GetQualityPoint);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReikiRootProperty", _m_GetReikiRootProperty);
@@ -59,6 +60,9 @@
Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetReikiRemind", _g_get_resetReikiRemind);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetReikiLimitLevel", _g_get_resetReikiLimitLevel);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectReikiRoot", _g_get_selectReikiRoot);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "openFromTreasureSkill", _g_get_openFromTreasureSkill);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointPromoteSymbol", _g_get_reikiPointPromoteSymbol);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiPointAutoAddLevel", _g_get_reikiPointAutoAddLevel);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "lastReikiRootPoints", _g_get_lastReikiRootPoints);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "afterReikiRootPoints", _g_get_afterReikiRootPoints);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "reikiRoots", _g_get_reikiRoots);
@@ -69,6 +73,8 @@
Utils.RegisterFunc(L, Utils.SETTER_IDX, "resetReikiRootRecord", _s_set_resetReikiRootRecord);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "resetReikiRemind", _s_set_resetReikiRemind);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "selectReikiRoot", _s_set_selectReikiRoot);
+ Utils.RegisterFunc(L, Utils.SETTER_IDX, "openFromTreasureSkill", _s_set_openFromTreasureSkill);
+ Utils.RegisterFunc(L, Utils.SETTER_IDX, "reikiPointPromoteSymbol", _s_set_reikiPointPromoteSymbol);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "lastReikiRootPoints", _s_set_lastReikiRootPoints);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "afterReikiRootPoints", _s_set_afterReikiRootPoints);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "reikiRoots", _s_set_reikiRoots);
@@ -372,6 +378,34 @@
{
int gen_ret = gen_to_be_invoked.GetReikiRootTotalPoint( );
+ LuaAPI.xlua_pushinteger(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_GetReikiRootTotalPointWithFree(RealStatePtr L)
+ {
+ try {
+
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+
+ Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
+
+
+
+ {
+
+ int gen_ret = gen_to_be_invoked.GetReikiRootTotalPointWithFree( );
LuaAPI.xlua_pushinteger(L, gen_ret);
@@ -874,6 +908,48 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_openFromTreasureSkill(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
+ LuaAPI.lua_pushboolean(L, gen_to_be_invoked.openFromTreasureSkill);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_reikiPointPromoteSymbol(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
+ LuaAPI.lua_pushboolean(L, gen_to_be_invoked.reikiPointPromoteSymbol);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _g_get_reikiPointAutoAddLevel(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
+ LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.reikiPointAutoAddLevel);
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 1;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_lastReikiRootPoints(RealStatePtr L)
{
try {
@@ -1007,6 +1083,36 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _s_set_openFromTreasureSkill(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
+ gen_to_be_invoked.openFromTreasureSkill = LuaAPI.lua_toboolean(L, 2);
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 0;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _s_set_reikiPointPromoteSymbol(RealStatePtr L)
+ {
+ try {
+ ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+
+ Snxxz.UI.ReikiRootModel gen_to_be_invoked = (Snxxz.UI.ReikiRootModel)translator.FastGetCSObj(L, 1);
+ gen_to_be_invoked.reikiPointPromoteSymbol = LuaAPI.lua_toboolean(L, 2);
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+ return 0;
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_lastReikiRootPoints(RealStatePtr L)
{
try {
--
Gitblit v1.8.0