From dd50d3d364e6ddc31b36b1b5cb256669e281c843 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 24 十月 2018 09:41:18 +0800
Subject: [PATCH] 3335 更新lua库

---
 Assets/XLua/Gen/SnxxzUIWishingPoolModelWrap.cs |  484 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 456 insertions(+), 28 deletions(-)

diff --git a/Assets/XLua/Gen/SnxxzUIWishingPoolModelWrap.cs b/Assets/XLua/Gen/SnxxzUIWishingPoolModelWrap.cs
index b20bb67..e2e6c22 100644
--- a/Assets/XLua/Gen/SnxxzUIWishingPoolModelWrap.cs
+++ b/Assets/XLua/Gen/SnxxzUIWishingPoolModelWrap.cs
@@ -21,36 +21,58 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(Snxxz.UI.WishingPoolModel);
-			Utils.BeginObjectRegister(type, L, translator, 0, 13, 2, 2);
+			Utils.BeginObjectRegister(type, L, translator, 0, 22, 10, 5);
 			
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOperationWishing", _m_GetOperationWishing);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetFreeWishCoolTime", _m_TryGetFreeWishCoolTime);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetDragData", _m_ResetDragData);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingWellPlayerInfo", _m_SetWishingWellPlayerInfo);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingPoolData", _m_SetWishingPoolData);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemovetWishingPoolData", _m_RemovetWishingPoolData);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingData", _m_SetWishingData);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishingAwardData", _m_SetWishingAwardData);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsBetterItem", _m_IsBetterItem);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetPoolDataByIndex", _m_TryGetPoolDataByIndex);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetWishDataByIndex", _m_TryGetWishDataByIndex);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendRefreshPoolInfo", _m_SendRefreshPoolInfo);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendRefreshWishInfo", _m_SendRefreshWishInfo);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWishRedpoint", _m_SetWishRedpoint);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetPoolData", _m_ResetPoolData);
 			
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWishingDataEvent", _e_UpdateWishingDataEvent);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePoolDataEvent", _e_UpdatePoolDataEvent);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate);
 			
-			Utils.RegisterFunc(L, Utils.GETTER_IDX, "isDraging", _g_get_isDraging);
+			Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "isDraging", _g_get_isDraging);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "dragIndex", _g_get_dragIndex);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeStartTime", _g_get_freeStartTime);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "alreadyWishNum", _g_get_alreadyWishNum);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishPoolRedpoint", _g_get_wishPoolRedpoint);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "freeWishRedpoint", _g_get_freeWishRedpoint);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "wishPointlist", _g_get_wishPointlist);
             
 			Utils.RegisterFunc(L, Utils.SETTER_IDX, "isDraging", _s_set_isDraging);
             Utils.RegisterFunc(L, Utils.SETTER_IDX, "dragIndex", _s_set_dragIndex);
+            Utils.RegisterFunc(L, Utils.SETTER_IDX, "wishPoolRedpoint", _s_set_wishPoolRedpoint);
+            Utils.RegisterFunc(L, Utils.SETTER_IDX, "freeWishRedpoint", _s_set_freeWishRedpoint);
+            Utils.RegisterFunc(L, Utils.SETTER_IDX, "wishPointlist", _s_set_wishPointlist);
             
 			
 			Utils.EndObjectRegister(type, L, translator, null, null,
 			    null, null, null);
 
-		    Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
+		    Utils.BeginClassRegister(type, L, __CreateInstance, 3, 0, 0);
 			
 			
+            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WishRedKey", Snxxz.UI.WishingPoolModel.WishRedKey);
+            Utils.RegisterObject(L, translator, Utils.CLS_IDX, "FREEWISH_REDKEY", Snxxz.UI.WishingPoolModel.FREEWISH_REDKEY);
             
 			
 			
@@ -197,6 +219,65 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_GetOperationWishing(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    
+                        Snxxz.UI.OperationWishingWellInfo gen_ret = gen_to_be_invoked.GetOperationWishing(  );
+                        translator.Push(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_TryGetFreeWishCoolTime(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _second;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetFreeWishCoolTime( out _second );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _second);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _m_ResetDragData(RealStatePtr L)
         {
 		    try {
@@ -224,7 +305,7 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_SetWishingPoolData(RealStatePtr L)
+        static int _m_SetWishingWellPlayerInfo(RealStatePtr L)
         {
 		    try {
             
@@ -234,23 +315,11 @@
                 Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
             
             
-			    int gen_param_count = LuaAPI.lua_gettop(L);
-            
-                if(gen_param_count == 1) 
+                
                 {
+                    HAA1A_tagMCActWishingWellPlayerInfo _wishInfo = (HAA1A_tagMCActWishingWellPlayerInfo)translator.GetObject(L, 2, typeof(HAA1A_tagMCActWishingWellPlayerInfo));
                     
-                    gen_to_be_invoked.SetWishingPoolData(  );
-                    
-                    
-                    
-                    return 0;
-                }
-                if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) 
-                {
-                    int _index = LuaAPI.xlua_tointeger(L, 2);
-                    int _id = LuaAPI.xlua_tointeger(L, 3);
-                    
-                    gen_to_be_invoked.SetWishingPoolData( _index, _id );
+                    gen_to_be_invoked.SetWishingWellPlayerInfo( _wishInfo );
                     
                     
                     
@@ -261,7 +330,34 @@
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }
             
-            return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WishingPoolModel.SetWishingPoolData!");
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SetWishingPoolData(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _index = LuaAPI.xlua_tointeger(L, 2);
+                    Snxxz.UI.WishingPoolModel.WishingWellItem _wellItem = (Snxxz.UI.WishingPoolModel.WishingWellItem)translator.GetObject(L, 3, typeof(Snxxz.UI.WishingPoolModel.WishingWellItem));
+                    
+                    gen_to_be_invoked.SetWishingPoolData( _index, _wellItem );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
             
         }
         
@@ -307,13 +403,70 @@
                 
                 {
                     int _index = LuaAPI.xlua_tointeger(L, 2);
-                    int _id = LuaAPI.xlua_tointeger(L, 3);
+                    Snxxz.UI.WishingPoolModel.WishingWellItem _wellItem = (Snxxz.UI.WishingPoolModel.WishingWellItem)translator.GetObject(L, 3, typeof(Snxxz.UI.WishingPoolModel.WishingWellItem));
                     
-                    gen_to_be_invoked.SetWishingData( _index, _id );
+                    gen_to_be_invoked.SetWishingData( _index, _wellItem );
                     
                     
                     
                     return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SetWishingAwardData(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _index = LuaAPI.xlua_tointeger(L, 2);
+                    Snxxz.UI.WishingPoolModel.WishingWellItem _wellItem = (Snxxz.UI.WishingPoolModel.WishingWellItem)translator.GetObject(L, 3, typeof(Snxxz.UI.WishingPoolModel.WishingWellItem));
+                    
+                    gen_to_be_invoked.SetWishingAwardData( _index, _wellItem );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_IsBetterItem(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    
+                        bool gen_ret = gen_to_be_invoked.IsBetterItem(  );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    
+                    
+                    
+                    return 1;
                 }
                 
             } catch(System.Exception gen_e) {
@@ -336,11 +489,11 @@
                 
                 {
                     int _index = LuaAPI.xlua_tointeger(L, 2);
-                    int _id;
+                    Snxxz.UI.WishingPoolModel.WishingWellItem _wellItem;
                     
-                        bool gen_ret = gen_to_be_invoked.TryGetPoolDataByIndex( _index, out _id );
+                        bool gen_ret = gen_to_be_invoked.TryGetPoolDataByIndex( _index, out _wellItem );
                         LuaAPI.lua_pushboolean(L, gen_ret);
-                    LuaAPI.xlua_pushinteger(L, _id);
+                    translator.Push(L, _wellItem);
                         
                     
                     
@@ -368,16 +521,100 @@
                 
                 {
                     int _index = LuaAPI.xlua_tointeger(L, 2);
-                    int _id;
+                    Snxxz.UI.WishingPoolModel.WishingWellItem _wellItem;
                     
-                        bool gen_ret = gen_to_be_invoked.TryGetWishDataByIndex( _index, out _id );
+                        bool gen_ret = gen_to_be_invoked.TryGetWishDataByIndex( _index, out _wellItem );
                         LuaAPI.lua_pushboolean(L, gen_ret);
-                    LuaAPI.xlua_pushinteger(L, _id);
+                    translator.Push(L, _wellItem);
                         
                     
                     
                     
                     return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SendRefreshPoolInfo(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _refreshType = LuaAPI.xlua_tointeger(L, 2);
+                    
+                    gen_to_be_invoked.SendRefreshPoolInfo( _refreshType );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SendRefreshWishInfo(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _poolIndex = LuaAPI.xlua_tointeger(L, 2);
+                    int _wishIndex = LuaAPI.xlua_tointeger(L, 3);
+                    
+                    gen_to_be_invoked.SendRefreshWishInfo( _poolIndex, _wishIndex );
+                    
+                    
+                    
+                    return 0;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_SetWishRedpoint(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    
+                    gen_to_be_invoked.SetWishRedpoint(  );
+                    
+                    
+                    
+                    return 0;
                 }
                 
             } catch(System.Exception gen_e) {
@@ -417,6 +654,48 @@
         
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_IsOpen(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOpen);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_priorityOpen(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.priorityOpen);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_IsAdvance(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsAdvance);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_isDraging(RealStatePtr L)
         {
 		    try {
@@ -438,6 +717,76 @@
 			
                 Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                 LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.dragIndex);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_freeStartTime(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.freeStartTime);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_alreadyWishNum(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.alreadyWishNum);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_wishPoolRedpoint(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.wishPoolRedpoint);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_freeWishRedpoint(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.freeWishRedpoint);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_wishPointlist(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.wishPointlist);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }
@@ -469,6 +818,51 @@
 			
                 Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
                 gen_to_be_invoked.dragIndex = LuaAPI.xlua_tointeger(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_wishPoolRedpoint(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                gen_to_be_invoked.wishPoolRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
+            
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 0;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _s_set_freeWishRedpoint(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                gen_to_be_invoked.freeWishRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
+            
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 0;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _s_set_wishPointlist(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                gen_to_be_invoked.wishPointlist = (System.Collections.Generic.List<Snxxz.UI.Redpoint>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<Snxxz.UI.Redpoint>));
             
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -546,6 +940,40 @@
             return 0;
         }
         
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _e_onStateUpate(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			    int gen_param_count = LuaAPI.lua_gettop(L);
+			Snxxz.UI.WishingPoolModel gen_to_be_invoked = (Snxxz.UI.WishingPoolModel)translator.FastGetCSObj(L, 1);
+                System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3);
+                if (gen_delegate == null) {
+                    return LuaAPI.luaL_error(L, "#3 need System.Action<int>!");
+                }
+				
+				if (gen_param_count == 3)
+				{
+					
+					if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
+						gen_to_be_invoked.onStateUpate += gen_delegate;
+						return 0;
+					} 
+					
+					
+					if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
+						gen_to_be_invoked.onStateUpate -= gen_delegate;
+						return 0;
+					} 
+					
+				}
+			} catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+			LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WishingPoolModel.onStateUpate!");
+            return 0;
+        }
+        
 		
 		
     }

--
Gitblit v1.8.0