少年修仙传客户端代码仓库
hch
2019-10-09 cb0aaa3579c0a23eddf13ac7d8c45205fb3cccec
0312 开服活动增加红点 主界面根据排行榜显隐
4个文件已修改
12 ■■■■■ 已修改文件
System/MainInterfacePanel/MainRedDot.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TopRightTip.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/ImpactRankModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/OpenServerActivityRankWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/MainRedDot.cs
@@ -99,7 +99,8 @@
        public const int REDPOINT_OPENSERVER = 209;
        public Redpoint openServerRedpoint = new Redpoint(REDPOINT_OPENSERVER);
        #endregion
        public const int REDPOINT_OPENRANK = 258;
        public Redpoint openRankRedpoint = new Redpoint(REDPOINT_OPENRANK);
        #region 仙盟活动红点
        public readonly Redpoint fairyActivityRedpoint = new Redpoint(218);
        #endregion
System/MainInterfacePanel/TopRightTip.cs
@@ -33,6 +33,7 @@
            m_BackPack.SetListener(OpenBackpack);
            m_ServerRank.SetListener(OpenRank);
            OpenServerActivityCenter.Instance.openServerActivityStateChange += OpenServerActivityStateChange;
            m_ServerRank.gameObject.SetActive(OpenServerActivityCenter.Instance.IsActivityOpen(0));
        }
        public void UnInit()
System/OpenServerActivity/ImpactRankModel.cs
@@ -578,8 +578,8 @@
        #endregion
        #region 红点
        public const int Redpoint_Key_ImpactRank = 20900;
        public Redpoint impactRankRedpoint = new Redpoint(MainRedDot.REDPOINT_OPENSERVER, Redpoint_Key_ImpactRank);
        public const int Redpoint_Key_ImpactRank = 25800;
        public Redpoint impactRankRedpoint = new Redpoint(MainRedDot.REDPOINT_OPENRANK, Redpoint_Key_ImpactRank);
        private Dictionary<int, Redpoint> m_Redpoints = new Dictionary<int, Redpoint>();
        public bool CanGetAward(int _type, out int _displayIndex)
System/OpenServerActivity/OpenServerActivityRankWin.cs
@@ -188,7 +188,7 @@
            _cell.activityType = activityType;
            _cell.redpoint.redpointId = MainRedDot.REDPOINT_OPENSERVER * 100 + activityType;
            _cell.redpoint.redpointId = MainRedDot.REDPOINT_OPENRANK * 100 + activityType;
            _cell.SetSelect(_cell.activityType == functionOrder);
            _cell.icon.SetSprite("OpenServerActivty_QMCB");
@@ -210,7 +210,7 @@
            int _order = _cell.index / 100;
            int _type = _cell.index % 100;
            _cell.redpoint.redpointId = (209 * 100 + _order) * 100 + _type;
            _cell.redpoint.redpointId = (MainRedDot.REDPOINT_OPENRANK * 100 + _order) * 100 + _type;
            _cell.titleTxt.text = Language.Get(StringUtility.Contact("ImpactRankType_", _type));
            _cell.SetSelect(_type == impactRankModel.presentSelectType);
            _cell.functionBtn.onClick.RemoveAllListeners();