From e9aabcf4c568654d9a5b43b538d4bf088d0e8d2b Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期五, 04 一月 2019 13:54:12 +0800
Subject: [PATCH] 5685 【前端】【1.4.100】聚魂一键分解功能红点提醒与逻辑优化
---
Lua/Gen/UIHelperWrap.cs | 44 +++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 43 insertions(+), 1 deletions(-)
diff --git a/Lua/Gen/UIHelperWrap.cs b/Lua/Gen/UIHelperWrap.cs
index 0da25ee..8e95b57 100644
--- a/Lua/Gen/UIHelperWrap.cs
+++ b/Lua/Gen/UIHelperWrap.cs
@@ -31,7 +31,7 @@
Utils.EndObjectRegister(type, L, translator, null, null,
null, null, null);
- Utils.BeginClassRegister(type, L, __CreateInstance, 64, 0, 0);
+ Utils.BeginClassRegister(type, L, __CreateInstance, 65, 0, 0);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSuitNameByName", _m_GetSuitNameByName_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetSurplusSeconds", _m_GetSurplusSeconds_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetTime", _m_GetTime_xlua_st_);
@@ -45,6 +45,7 @@
Utils.RegisterFunc(L, Utils.CLS_IDX, "HasSpecialCharac", _m_HasSpecialCharac_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetColorNameByItemColor", _m_GetColorNameByItemColor_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetDanLVColor", _m_GetDanLVColor_xlua_st_);
+ Utils.RegisterFunc(L, Utils.CLS_IDX, "AppendDanLVNameColor", _m_AppendDanLVNameColor_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetUIColor", _m_GetUIColor_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "AppendStringColor", _m_AppendStringColor_xlua_st_);
Utils.RegisterFunc(L, Utils.CLS_IDX, "GetRealmName", _m_GetRealmName_xlua_st_);
@@ -482,6 +483,47 @@
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+ static int _m_AppendDanLVNameColor_xlua_st_(RealStatePtr L)
+ {
+ try {
+
+
+
+ int gen_param_count = LuaAPI.lua_gettop(L);
+
+ if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
+ {
+ int _danLv = LuaAPI.xlua_tointeger(L, 1);
+ bool _bright = LuaAPI.lua_toboolean(L, 2);
+
+ string gen_ret = UIHelper.AppendDanLVNameColor( _danLv, _bright );
+ LuaAPI.lua_pushstring(L, gen_ret);
+
+
+
+ return 1;
+ }
+ if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1))
+ {
+ int _danLv = LuaAPI.xlua_tointeger(L, 1);
+
+ string gen_ret = UIHelper.AppendDanLVNameColor( _danLv );
+ LuaAPI.lua_pushstring(L, gen_ret);
+
+
+
+ return 1;
+ }
+
+ } catch(System.Exception gen_e) {
+ return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+ }
+
+ return LuaAPI.luaL_error(L, "invalid arguments to UIHelper.AppendDanLVNameColor!");
+
+ }
+
+ [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetUIColor_xlua_st_(RealStatePtr L)
{
try {
--
Gitblit v1.8.0