Explorar el Código

++ 注释远征求助的时间判断

gdl_123 hace 3 meses
padre
commit
ef689aa530

+ 2 - 2
Assets/Editor/CsvToLua/luaCopyFileCfg.lua

@@ -227,8 +227,8 @@ luaCopyFileCfg.FileCfg ={
 {basepath = "Assets/Content/Icons/",     path = "Buff",    fileName = "text_buff_shield_up_cn.psd.meta",																		 },
 {basepath = "Assets/Content/Icons/",     path = "Buff",    fileName = "text_buff_speed_down_cn.png",																			 },
 {basepath = "Assets/Content/Icons/",     path = "Buff",    fileName = "text_buff_speed_up_cn.png",																			 },
-{basepath = "Assets/Content/Icons/",     path = "Commonf",    fileName = "ic_res_daijinquan.png",																				 },
-{basepath = "Assets/Content/Icons/",     path = "Commonf",    fileName = "ic_res_newyear_coin.png",																			 },
+{basepath = "Assets/Content/Icons/",     path = "Common",    fileName = "ic_res_daijinquan.png",																				 },
+{basepath = "Assets/Content/Icons/",     path = "Common",    fileName = "ic_res_newyear_coin.png",																			 },
 {basepath = "Assets/Content/Icons/",     path = "ContinuousLogin",    fileName = "label_vip_01.png",																			 },
 {basepath = "Assets/Content/Icons/",     path = "ContinuousLogin",    fileName = "label_vip_01.psd",																	 },
 {basepath = "Assets/Content/Icons/",     path = "ContinuousLogin",    fileName = "label_vip_01.psd.meta",																		 },

+ 7 - 7
Assets/Lua/UI/Common/ChatTextItemCtr.lua

@@ -261,13 +261,13 @@ function ChatTextItemCtr:SetData(wnd, item, logicData, enterType, onClickOwner,
                 item.text.symbolText.raycastTarget = not content.used
                 if not content.used then
                     item.text.symbolTextEvent:RegisterClickEvent(nil, function (hyperParam)
-                        local curTime = ManagerContainer.LuaTimerMgr:GetTimeSecond()
-                        local isOneDay = ManagerContainer.LuaTimerMgr:TwoTimeSecondBetweenOneDay(content.sendTime, curTime)
-                        if not isOneDay then
-                            ManagerContainer.LuaUIMgr:ErrorNoticeDisplay("ExpeditionBailout")
-                            content.used = true
-                            return
-                        end
+                        -- local curTime = ManagerContainer.LuaTimerMgr:GetTimeSecond()
+                        -- local isOneDay = ManagerContainer.LuaTimerMgr:TwoTimeSecondBetweenOneDay(content.sendTime, curTime)
+                        -- if not isOneDay then
+                        --     ManagerContainer.LuaUIMgr:ErrorNoticeDisplay("ExpeditionBailout")
+                        --     content.used = true
+                        --     return
+                        -- end
 
                         local list = string.split(hyperParam, ";")
                         local uid = ManagerContainer.DataMgr.UserData:GetUserId()

+ 7 - 7
Assets/Lua/UI/Common/PrivateChatItemCtr.lua

@@ -110,13 +110,13 @@ function PrivateChatItem:SetData(wnd, item, logicData)
             chatItem.helpText1.symbolText.raycastTarget = not chat.message.used
             if not chat.message.used then
                 chatItem.helpText1.symbolTextEvent:RegisterClickEvent(nil, function (hyperParam)
-                    local curTime = ManagerContainer.LuaTimerMgr:GetTimeSecond()
-                    local isOneDay = ManagerContainer.LuaTimerMgr:TwoTimeSecondBetweenOneDay(chat.message.sendTime, curTime)
-                    if not isOneDay then
-                        ManagerContainer.LuaUIMgr:ErrorNoticeDisplay("ExpeditionBailout")
-                        chat.message.used = true
-                        return
-                    end
+                    -- local curTime = ManagerContainer.LuaTimerMgr:GetTimeSecond()
+                    -- local isOneDay = ManagerContainer.LuaTimerMgr:TwoTimeSecondBetweenOneDay(chat.message.sendTime, curTime)
+                    -- if not isOneDay then
+                    --     ManagerContainer.LuaUIMgr:ErrorNoticeDisplay("ExpeditionBailout")
+                    --     chat.message.used = true
+                    --     return
+                    -- end
 
                     local list = string.split(hyperParam, ";")
                     local uid = ManagerContainer.DataMgr.UserData:GetUserId()