From 577aa28e09e08d1ee12df16d36643b80c192d7bf Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 05 七月 2019 23:49:50 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
Lua/Gen/SnxxzUIPackModelWrap.cs | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/Lua/Gen/SnxxzUIPackModelWrap.cs b/Lua/Gen/SnxxzUIPackModelWrap.cs
index 87c26f5..e82a647 100644
--- a/Lua/Gen/SnxxzUIPackModelWrap.cs
+++ b/Lua/Gen/SnxxzUIPackModelWrap.cs
@@ -104,7 +104,7 @@
Utils.RegisterFunc(L, Utils.GETTER_IDX, "makeDruglist", _g_get_makeDruglist);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isPlayBetterEquipEffect", _g_get_isPlayBetterEquipEffect);
- Utils.RegisterFunc(L, Utils.GETTER_IDX, "guardGetPathId", _g_get_guardGetPathId);
+ Utils.RegisterFunc(L, Utils.GETTER_IDX, "spiritWeaponPathIds", _g_get_spiritWeaponPathIds);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "wingsGetPathIdDict", _g_get_wingsGetPathIdDict);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dungeonUseDict", _g_get_dungeonUseDict);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "lookLineIndex", _g_get_lookLineIndex);
@@ -635,12 +635,6 @@
{
- int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
-
- bool gen_ret = gen_to_be_invoked.IsShowAddEquipByPlace( _equipPlace );
- LuaAPI.lua_pushboolean(L, gen_ret);
-
-
return 1;
}
@@ -2073,13 +2067,13 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int _g_get_guardGetPathId(RealStatePtr L)
+ static int _g_get_spiritWeaponPathIds(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
Snxxz.UI.PackModel gen_to_be_invoked = (Snxxz.UI.PackModel)translator.FastGetCSObj(L, 1);
- LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.guardGetPathId);
+ translator.Push(L, gen_to_be_invoked.spiritWeaponPathIds);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
--
Gitblit v1.8.0