From c4912df7f121de9bd1e76c9291a1878a4c9b52a2 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期三, 14 十一月 2018 14:04:05 +0800
Subject: [PATCH] 4534 【1.3】【前端】组队功能和助战积分优化

---
 Assets/XLua/Gen/StoreModelWrap.cs |  741 ++++++++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 546 insertions(+), 195 deletions(-)

diff --git a/Assets/XLua/Gen/StoreModelWrap.cs b/Assets/XLua/Gen/StoreModelWrap.cs
index 85d1ef6..7992cf2 100644
--- a/Assets/XLua/Gen/StoreModelWrap.cs
+++ b/Assets/XLua/Gen/StoreModelWrap.cs
@@ -21,16 +21,27 @@
         {
 			ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
 			System.Type type = typeof(StoreModel);
-			Utils.BeginObjectRegister(type, L, translator, 0, 51, 24, 12);
+			Utils.BeginObjectRegister(type, L, translator, 0, 60, 29, 11);
 			
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetStoreRefreshTimeByType", _m_GetStoreRefreshTimeByType);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJobReplaceIDDict", _m_SetJobReplaceIDDict);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReplaceItemIdByJob", _m_ReplaceItemIdByJob);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByShopSort", _m_CompareByShopSort);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateShowStore", _m_UpdateShowStore);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckTheOnlyShopSellOut", _m_CheckTheOnlyShopSellOut);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetStoreDatas", _m_TryGetStoreDatas);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetStoreData", _m_GetStoreData);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetReplaceId", _m_GetReplaceId);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetRedTypeByShopId", _m_TryGetRedTypeByShopId);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetPushTypeByShopId", _m_TryGetPushTypeByShopId);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetIsSellOut", _m_TryGetIsSellOut);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetLimitBuy", _m_TryGetLimitBuy);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetVipBuy", _m_TryGetVipBuy);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetUnlockRune", _m_TryGetUnlockRune);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetStoreDatasByLimit", _m_TryGetStoreDatasByLimit);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetStoreRefreshTimeByType", _m_GetStoreRefreshTimeByType);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBuyShopLimitModel", _m_RefreshBuyShopLimitModel);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBuyShopLimit", _m_GetBuyShopLimit);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetRuneSource", _m_SetRuneSource);
@@ -45,12 +56,11 @@
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsCanBuyItem", _m_IsCanBuyItem);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "MoneyIsEnough", _m_MoneyIsEnough);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetJumpToModel", _m_SetJumpToModel);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsNewDay", _m_IsNewDay);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSaveDateTime", _m_GetSaveDateTime);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSaveFairyLV", _m_GetSaveFairyLV);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetStoreLocalSave", _m_SetStoreLocalSave);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ControllerRedPoint", _m_ControllerRedPoint);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckWeekStoreIsShopBuy", _m_CheckWeekStoreIsShopBuy);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckTheOnlyShopSellOut", _m_CheckTheOnlyShopSellOut);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShopRedpoint", _m_SetShopRedpoint);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFreeShopRedpoint", _m_UpdateFreeShopRedpoint);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateCanBuyRedpoint", _m_UpdateCanBuyRedpoint);
@@ -58,8 +68,6 @@
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearMustBuyRedpoint", _m_ClearMustBuyRedpoint);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetIsMustBuyDay", _m_SetIsMustBuyDay);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsMustBuy", _m_CheckIsMustBuy);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckScoreStoreIsCanBuy", _m_CheckScoreStoreIsCanBuy);
-			Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckShopIsCanBuy", _m_CheckShopIsCanBuy);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdatePetAndMountPutAwayRedpoint", _m_UpdatePetAndMountPutAwayRedpoint);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearPetAndMountRedpoint", _m_ClearPetAndMountRedpoint);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearAllPetAndMountRedpoint", _m_ClearAllPetAndMountRedpoint);
@@ -74,6 +82,7 @@
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshTCBPlayerDataEvent", _e_RefreshTCBPlayerDataEvent);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshBuyResultEvent", _e_RefreshBuyResultEvent);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "StoreFuncOpenAct", _e_StoreFuncOpenAct);
+			Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateHelpPointExchangeEvent", _e_UpdateHelpPointExchangeEvent);
 			Utils.RegisterFunc(L, Utils.METHOD_IDX, "pushRefreshEvent", _e_pushRefreshEvent);
 			
 			Utils.RegisterFunc(L, Utils.GETTER_IDX, "normalBuyCoinsTypes", _g_get_normalBuyCoinsTypes);
@@ -83,13 +92,18 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "resetTimeDict", _g_get_resetTimeDict);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "showCoinsUIDict", _g_get_showCoinsUIDict);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "StoreRedIdlist", _g_get_StoreRedIdlist);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeTrailerLv", _g_get_storeTrailerLv);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeRedRuleDict", _g_get_storeRedRuleDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "storePushDict", _g_get_storePushDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeTypeDict", _g_get_storeTypeDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "theOnlyShopDict", _g_get_theOnlyShopDict);
+            Utils.RegisterFunc(L, Utils.GETTER_IDX, "limitValueShopDict", _g_get_limitValueShopDict);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "BuyCnt", _g_get_BuyCnt);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpToItemId", _g_get_jumpToItemId);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsMustBuyDay", _g_get_IsMustBuyDay);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "currentPushId", _g_get_currentPushId);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "funcOrder", _g_get_funcOrder);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "jumpShopId", _g_get_jumpShopId);
-            Utils.RegisterFunc(L, Utils.GETTER_IDX, "shoplist", _g_get_shoplist);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "JobReplaceIdDict", _g_get_JobReplaceIdDict);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFuncType", _g_get_storeFuncType);
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "storeFuncPoint", _g_get_storeFuncPoint);
@@ -102,7 +116,6 @@
             Utils.RegisterFunc(L, Utils.GETTER_IDX, "mustIdlist", _g_get_mustIdlist);
             
 			Utils.RegisterFunc(L, Utils.SETTER_IDX, "jumpToItemId", _s_set_jumpToItemId);
-            Utils.RegisterFunc(L, Utils.SETTER_IDX, "shoplist", _s_set_shoplist);
             Utils.RegisterFunc(L, Utils.SETTER_IDX, "JobReplaceIdDict", _s_set_JobReplaceIdDict);
             Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFuncType", _s_set_storeFuncType);
             Utils.RegisterFunc(L, Utils.SETTER_IDX, "storeFuncPoint", _s_set_storeFuncPoint);
@@ -273,35 +286,6 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_GetStoreRefreshTimeByType(RealStatePtr L)
-        {
-		    try {
-            
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-            
-            
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-            
-            
-                
-                {
-                    int _type = LuaAPI.xlua_tointeger(L, 2);
-                    
-                        string gen_ret = gen_to_be_invoked.GetStoreRefreshTimeByType( _type );
-                        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_UnInit(RealStatePtr L)
         {
 		    try {
@@ -329,7 +313,37 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_SetJobReplaceIDDict(RealStatePtr L)
+        static int _m_CompareByShopSort(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    StoreModel.StoreData _start = (StoreModel.StoreData)translator.GetObject(L, 2, typeof(StoreModel.StoreData));
+                    StoreModel.StoreData _end = (StoreModel.StoreData)translator.GetObject(L, 3, typeof(StoreModel.StoreData));
+                    
+                        int gen_ret = gen_to_be_invoked.CompareByShopSort( _start, _end );
+                        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_UpdateShowStore(RealStatePtr L)
         {
 		    try {
             
@@ -342,7 +356,7 @@
                 
                 {
                     
-                    gen_to_be_invoked.SetJobReplaceIDDict(  );
+                    gen_to_be_invoked.UpdateShowStore(  );
                     
                     
                     
@@ -356,7 +370,7 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_ReplaceItemIdByJob(RealStatePtr L)
+        static int _m_CheckTheOnlyShopSellOut(RealStatePtr L)
         {
 		    try {
             
@@ -368,11 +382,351 @@
             
                 
                 {
-                    int _storeId = LuaAPI.xlua_tointeger(L, 2);
-                    int _itemId = LuaAPI.xlua_tointeger(L, 3);
+                    int _shopIndex = LuaAPI.xlua_tointeger(L, 2);
                     
-                        int gen_ret = gen_to_be_invoked.ReplaceItemIdByJob( _storeId, _itemId );
+                        bool gen_ret = gen_to_be_invoked.CheckTheOnlyShopSellOut( _shopIndex );
+                        LuaAPI.lua_pushboolean(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_TryGetStoreDatas(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _type = LuaAPI.xlua_tointeger(L, 2);
+                    
+                        System.Collections.Generic.List<StoreModel.StoreData> gen_ret = gen_to_be_invoked.TryGetStoreDatas( _type );
+                        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_GetStoreData(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _shopId = LuaAPI.xlua_tointeger(L, 2);
+                    
+                        StoreModel.StoreData gen_ret = gen_to_be_invoked.GetStoreData( _shopId );
+                        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_GetReplaceId(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _shopId = LuaAPI.xlua_tointeger(L, 2);
+                    
+                        int gen_ret = gen_to_be_invoked.GetReplaceId( _shopId );
                         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_TryGetRedTypeByShopId(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _shopId = LuaAPI.xlua_tointeger(L, 2);
+                    int _type;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetRedTypeByShopId( _shopId, out _type );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _type);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetPushTypeByShopId(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _shopId = LuaAPI.xlua_tointeger(L, 2);
+                    int _type;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetPushTypeByShopId( _shopId, out _type );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _type);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetIsSellOut(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
+                    int _remainCnt;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetIsSellOut( _storeConfig, out _remainCnt );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _remainCnt);
+                        
+                    
+                    
+                    
+                    return 2;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetLimitBuy(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    TableConfig.StoreConfig _config = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
+                    int _canBuyCnt;
+                    int _addBuyCnt;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetLimitBuy( _config, out _canBuyCnt, out _addBuyCnt );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _canBuyCnt);
+                        
+                    LuaAPI.xlua_pushinteger(L, _addBuyCnt);
+                        
+                    
+                    
+                    
+                    return 3;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetVipBuy(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    TableConfig.StoreConfig _config = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
+                    int _curVipIndex;
+                    int _nextVipIndex;
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetVipBuy( _config, out _curVipIndex, out _nextVipIndex );
+                        LuaAPI.lua_pushboolean(L, gen_ret);
+                    LuaAPI.xlua_pushinteger(L, _curVipIndex);
+                        
+                    LuaAPI.xlua_pushinteger(L, _nextVipIndex);
+                        
+                    
+                    
+                    
+                    return 3;
+                }
+                
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_TryGetUnlockRune(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _runeId = LuaAPI.xlua_tointeger(L, 2);
+                    
+                        bool gen_ret = gen_to_be_invoked.TryGetUnlockRune( _runeId );
+                        LuaAPI.lua_pushboolean(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_TryGetStoreDatasByLimit(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _type = LuaAPI.xlua_tointeger(L, 2);
+                    int _limitValue = LuaAPI.xlua_tointeger(L, 3);
+                    
+                        System.Collections.Generic.List<StoreModel.StoreData> gen_ret = gen_to_be_invoked.TryGetStoreDatasByLimit( _type, _limitValue );
+                        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_GetStoreRefreshTimeByType(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    int _type = LuaAPI.xlua_tointeger(L, 2);
+                    
+                        string gen_ret = gen_to_be_invoked.GetStoreRefreshTimeByType( _type );
+                        LuaAPI.lua_pushstring(L, gen_ret);
                     
                     
                     
@@ -791,6 +1145,35 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _m_IsNewDay(RealStatePtr L)
+        {
+		    try {
+            
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+            
+            
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+            
+            
+                
+                {
+                    string _recordKey = LuaAPI.lua_tostring(L, 2);
+                    
+                        bool gen_ret = gen_to_be_invoked.IsNewDay( _recordKey );
+                        LuaAPI.lua_pushboolean(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_GetSaveDateTime(RealStatePtr L)
         {
 		    try {
@@ -913,69 +1296,6 @@
             }
             
             return LuaAPI.luaL_error(L, "invalid arguments to StoreModel.ControllerRedPoint!");
-            
-        }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_CheckWeekStoreIsShopBuy(RealStatePtr L)
-        {
-		    try {
-            
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-            
-            
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-            
-            
-                
-                {
-                    System.Collections.Generic.List<TableConfig.StoreConfig> _buylist;
-                    
-                        bool gen_ret = gen_to_be_invoked.CheckWeekStoreIsShopBuy( out _buylist );
-                        LuaAPI.lua_pushboolean(L, gen_ret);
-                    translator.Push(L, _buylist);
-                        
-                    
-                    
-                    
-                    return 2;
-                }
-                
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
-            
-        }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _m_CheckTheOnlyShopSellOut(RealStatePtr L)
-        {
-		    try {
-            
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-            
-            
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-            
-            
-                
-                {
-                    int _shopIndex = LuaAPI.xlua_tointeger(L, 2);
-                    bool _isTheOnlyShop;
-                    
-                        bool gen_ret = gen_to_be_invoked.CheckTheOnlyShopSellOut( _shopIndex, out _isTheOnlyShop );
-                        LuaAPI.lua_pushboolean(L, gen_ret);
-                    LuaAPI.lua_pushboolean(L, _isTheOnlyShop);
-                        
-                    
-                    
-                    
-                    return 2;
-                }
-                
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
             
         }
         
@@ -1158,64 +1478,6 @@
                     TableConfig.StoreConfig _config = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
                     
                         bool gen_ret = gen_to_be_invoked.CheckIsMustBuy( _config );
-                        LuaAPI.lua_pushboolean(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_CheckScoreStoreIsCanBuy(RealStatePtr L)
-        {
-		    try {
-            
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-            
-            
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-            
-            
-                
-                {
-                    TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
-                    
-                        bool gen_ret = gen_to_be_invoked.CheckScoreStoreIsCanBuy( _storeConfig );
-                        LuaAPI.lua_pushboolean(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_CheckShopIsCanBuy(RealStatePtr L)
-        {
-		    try {
-            
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-            
-            
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-            
-            
-                
-                {
-                    TableConfig.StoreConfig _storeConfig = (TableConfig.StoreConfig)translator.GetObject(L, 2, typeof(TableConfig.StoreConfig));
-                    
-                        bool gen_ret = gen_to_be_invoked.CheckShopIsCanBuy( _storeConfig );
                         LuaAPI.lua_pushboolean(L, gen_ret);
                     
                     
@@ -1620,6 +1882,90 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_storeTrailerLv(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+                LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.storeTrailerLv);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_storeRedRuleDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.storeRedRuleDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_storePushDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.storePushDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_storeTypeDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.storeTypeDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_theOnlyShopDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.theOnlyShopDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _g_get_limitValueShopDict(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			
+                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
+                translator.Push(L, gen_to_be_invoked.limitValueShopDict);
+            } catch(System.Exception gen_e) {
+                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
+            }
+            return 1;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _g_get_BuyCnt(RealStatePtr L)
         {
 		    try {
@@ -1697,20 +2043,6 @@
 			
                 StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
                 LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.jumpShopId);
-            } catch(System.Exception gen_e) {
-                return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
-            }
-            return 1;
-        }
-        
-        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
-        static int _g_get_shoplist(RealStatePtr L)
-        {
-		    try {
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-			
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-                translator.Push(L, gen_to_be_invoked.shoplist);
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
             }
@@ -1867,21 +2199,6 @@
 			
                 StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
                 gen_to_be_invoked.jumpToItemId = 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_shoplist(RealStatePtr L)
-        {
-		    try {
-                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
-			
-                StoreModel gen_to_be_invoked = (StoreModel)translator.FastGetCSObj(L, 1);
-                gen_to_be_invoked.shoplist = (System.Collections.Generic.List<TableConfig.StoreConfig>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<TableConfig.StoreConfig>));
             
             } catch(System.Exception gen_e) {
                 return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
@@ -2179,6 +2496,40 @@
         }
         
         [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
+        static int _e_UpdateHelpPointExchangeEvent(RealStatePtr L)
+        {
+		    try {
+                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
+			    int gen_param_count = LuaAPI.lua_gettop(L);
+			StoreModel gen_to_be_invoked = (StoreModel)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.UpdateHelpPointExchangeEvent += gen_delegate;
+						return 0;
+					} 
+					
+					
+					if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
+						gen_to_be_invoked.UpdateHelpPointExchangeEvent -= 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 StoreModel.UpdateHelpPointExchangeEvent!");
+            return 0;
+        }
+        
+        [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
         static int _e_pushRefreshEvent(RealStatePtr L)
         {
 		    try {

--
Gitblit v1.8.0