hch
15 小时以前 a08c5bf246caa43a12025f619ba491c4194ef2fa
0312 区分战斗频繁消息提示; 修复盛典任务红点
4个文件已修改
24 ■■■■ 已修改文件
Main/System/Achievement/AchievementManager.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Battle/BattleManager.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Message/SysNotifyMgr.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/OSActivity/OSGalaMissionWin.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Achievement/AchievementManager.cs
@@ -163,6 +163,8 @@
    };
    public static int[] galaTypes = new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
    void UpdateRedpoint(List<int> _types)
    {
        if (_types.IsNullOrEmpty())
@@ -171,6 +173,13 @@
        }
        bool isGalaRed = false;
        if (_types.Count == 1)
        {
            if (galaTypes.Contains(_types[0]))
            {
                _types = galaTypes.ToList();
            }
        }
        foreach (var type in _types)
        {
Main/System/Battle/BattleManager.cs
@@ -632,8 +632,7 @@
        float currentTime = Time.time;
        if (currentTime - lastTime < turnCoolDown)
        {
            SysNotifyMgr.Instance.ShowTip("BattleCoolDown");
            Debug.Log("BattleCoolDown tip");
            SysNotifyMgr.Instance.ShowTip("BattleCoolDownClient");
            return;
        }
        lastTime = currentTime;
Main/System/Message/SysNotifyMgr.cs
@@ -154,6 +154,10 @@
        SysInfoConfig cfg = SysInfoConfig.Get(key);
        if (cfg != null)
        {
            if (string.IsNullOrEmpty(cfg.richText))
            {
                return;
            }
            tipInfoList.Clear();
            tipInfoList.AddRange(msg);
            AnalysisSysmsg(cfg);
Main/System/OSActivity/OSGalaMissionWin.cs
@@ -9,12 +9,12 @@
using UnityEngine.UI;
////开服活动-主线关卡活动
////开服活动-庆典
public class OSGalaMissionWin : UIBase
{
    [SerializeField] ScrollerController scroller;
    int[] types = new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
    List<int> ids = new List<int>();
    protected override void OnPreOpen()
@@ -38,14 +38,14 @@
        // -1 为所有类型
        if (type >= 2 && type <= 19 || type == -1)
        {
            ids = AchievementManager.Instance.GetAchievementIDsByTypes(types);
            ids = AchievementManager.Instance.GetAchievementIDsByTypes(AchievementManager.galaTypes);
            scroller.m_Scorller.RefreshActiveCellViews();
        }
    }
    void CreateScroller()
    {
        ids = AchievementManager.Instance.GetAchievementIDsByTypes(types);
        ids = AchievementManager.Instance.GetAchievementIDsByTypes(AchievementManager.galaTypes);
        var count = ids.Count;
        scroller.Refresh();
        for (int i = 0; i < count; i++)