From 3334c6a9c8eb8db00d4d8e64b9ec7a85efaddf18 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 29 一月 2019 14:09:56 +0800
Subject: [PATCH] 6086 【前端】【1.5.200】春节红包雨活动

---
 Lua/Gen/SnxxzUIItemTipsModelWrap.cs |  346 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 345 insertions(+), 1 deletions(-)

diff --git a/Lua/Gen/SnxxzUIItemTipsModelWrap.cs b/Lua/Gen/SnxxzUIItemTipsModelWrap.cs
index c55ea28..e693a58 100644
--- a/Lua/Gen/SnxxzUIItemTipsModelWrap.cs
+++ b/Lua/Gen/SnxxzUIItemTipsModelWrap.cs
@@ -21,12 +21,17 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(Snxxz.UI.ItemTipsModel);
-			Utils.BeginObjectRegister(type, L, translator, 0, 45, 40, 3);
+			Utils.BeginObjectRegister(type, L, translator, 0, 53, 46, 3);
 			
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetAtkSpeedColor", _m_TryGetAtkSpeedColor);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDynastyLegendCount", _m_TryGetJadeDynastyLegendCount);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDynastyLegendAttr", _m_TryGetJadeDynastyLegendAttr);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDyanastyLegendColorType", _m_TryGetJadeDyanastyLegendColorType);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetJadeDyanastyLegendColor", _m_TryGetJadeDyanastyLegendColor);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetJadeDynastyLegendValue", _m_GetJadeDynastyLegendValue);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetItemTipsModel", _m_SetItemTipsModel);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCurrentAttrData", _m_SetCurrentAttrData);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetCompareAttrData", _m_SetCompareAttrData);
@@ -39,11 +44,14 @@
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzEquipBtn", _m_SetDogzEquipBtn);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDepotBagTipsBtn", _m_SetDepotBagTipsBtn);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPutOnTipsBtn", _m_SetPutOnTipsBtn);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJadeDynastyItemTipsBtn", _m_SetJadeDynastyItemTipsBtn);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJadeDynastyPutOnTipsBtn", _m_SetJadeDynastyPutOnTipsBtn);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWaysList", _m_GetWaysList);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBasicAttr", _m_GetBasicAttr);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetProValueType", _m_GetProValueType);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetLegendAttr", _m_GetLegendAttr);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipLegendAttrCntPreview", _m_GetEquipLegendAttrCntPreview);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetJadeDynastyAttrCntPreview", _m_GetJadeDynastyAttrCntPreview);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzLegendAttrCntPreview", _m_GetDogzLegendAttrCntPreview);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWingsLegendAttrCntPreview", _m_GetWingsLegendAttrCntPreview);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPreviewLegendAttr", _m_GetPreviewLegendAttr);
@@ -101,6 +109,12 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "randomRuneIds", _g_get_randomRuneIds);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "PeerlessEquipIds", _g_get_PeerlessEquipIds);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "atkSpeedColorDict", _g_get_atkSpeedColorDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendCountDict", _g_get_jadeDynastyLegendCountDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendGroupDict", _g_get_jadeDynastyLegendGroupDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendIdDict", _g_get_jadeDynastyLegendIdDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendColorDict", _g_get_jadeDynastyLegendColorDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyColorDict", _g_get_jadeDynastyColorDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "jadeDynastyLegendValueDict", _g_get_jadeDynastyLegendValueDict);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "curAttrData", _g_get_curAttrData);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "compareAttrData", _g_get_compareAttrData);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "OpenCount", _g_get_OpenCount);
@@ -264,6 +278,167 @@
                     
                     
                     return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetJadeDynastyLegendCount(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _itemId = LuaAPI.xlua_tointeger(L, 2);
+                    int _minCount;
+                    int _maxCount;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetJadeDynastyLegendCount( _itemId, out _minCount, out _maxCount );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _minCount);
+                        
+                    LuaAPI.xlua_pushinteger(L, _maxCount);
+                        
+                    
+                    
+                    
+                    return 3;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetJadeDynastyLegendAttr(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _itemId = LuaAPI.xlua_tointeger(L, 2);
+                    System.Collections.Generic.Dictionary<int, int> _attrDict;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetJadeDynastyLegendAttr( _itemId, out _attrDict );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    translator.Push(L, _attrDict);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetJadeDyanastyLegendColorType(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _attrId = LuaAPI.xlua_tointeger(L, 2);
+                    int _attrValue = LuaAPI.xlua_tointeger(L, 3);
+                    int _colorType;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetJadeDyanastyLegendColorType( _attrId, _attrValue, out _colorType );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _colorType);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetJadeDyanastyLegendColor(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _colorType = LuaAPI.xlua_tointeger(L, 2);
+                    string _color;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetJadeDyanastyLegendColor( _colorType, out _color );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.lua_pushstring(L, _color);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_GetJadeDynastyLegendValue(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _attrId = LuaAPI.xlua_tointeger(L, 2);
+                    
+                        int gen_ret = gen_to_be_invoked.GetJadeDynastyLegendValue( _attrId );
+                        LuaAPI.xlua_pushinteger(L, gen_ret);
+                    
+                    
+                    
+                    return 1;
                 }
                 
             } catch(System.Exception gen_e) {
@@ -676,6 +851,62 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SetJadeDynastyItemTipsBtn(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
+                    
+                    gen_to_be_invoked.SetJadeDynastyItemTipsBtn( _attrData );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SetJadeDynastyPutOnTipsBtn(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
+                    
+                    gen_to_be_invoked.SetJadeDynastyPutOnTipsBtn( _attrData );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _m_GetWaysList(RealStatePtr L)
         {
 		    try {
@@ -825,6 +1056,35 @@
                     Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
                     
                         string gen_ret = gen_to_be_invoked.GetEquipLegendAttrCntPreview( _attrData );
+                        LuaAPI.lua_pushstring(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_GetJadeDynastyAttrCntPreview(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    Snxxz.UI.ItemAttrData _attrData = (Snxxz.UI.ItemAttrData)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemAttrData));
+                    
+                        string gen_ret = gen_to_be_invoked.GetJadeDynastyAttrCntPreview( _attrData );
                         LuaAPI.lua_pushstring(L, gen_ret);
                     
                     
@@ -2039,6 +2299,90 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_jadeDynastyLegendCountDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.jadeDynastyLegendCountDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_jadeDynastyLegendGroupDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.jadeDynastyLegendGroupDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_jadeDynastyLegendIdDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.jadeDynastyLegendIdDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_jadeDynastyLegendColorDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.jadeDynastyLegendColorDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_jadeDynastyColorDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.jadeDynastyColorDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_jadeDynastyLegendValueDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.ItemTipsModel gen_to_be_invoked = (Snxxz.UI.ItemTipsModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.jadeDynastyLegendValueDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_curAttrData(RealStatePtr L)
         {
 		    try {

--
Gitblit v1.8.0