| System/DailyQuest/DayRemind.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/KnapSack/Logic/EquipDecomMailWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/MainInterfacePanel/InGamePushContainer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
System/DailyQuest/DayRemind.cs
@@ -60,6 +60,7 @@ public const string WORD_YY_REDPOINT = "wordyyredpoint"; // 集字活动红点 public const string CZBM_REDPOINT = "czbmredpoint"; // 成长必买红点 public const string DJQTip = "DJQTip"; // 代金券提示 public const string EquipDe = "EquipDe"; // 装备分解提示 public Dictionary<string, int[]> dayRemindDic = new Dictionary<string, int[]>(); @@ -128,6 +129,7 @@ SetDayRemind(WORD_YY_REDPOINT); SetDayRemind(CZBM_REDPOINT); SetDayRemind(DJQTip); SetDayRemind(EquipDe); } public void SetDayRemind(string _key) System/KnapSack/Logic/EquipDecomMailWin.cs
@@ -13,6 +13,8 @@ [SerializeField] GameObject getMatObj; [SerializeField] List<CommonItemBaisc> getMatlist = new List<CommonItemBaisc>(); [SerializeField] ToggleButton m_ToggleButton; //跳过战斗 PackModel playerPack { get { return ModelCenter.Instance.GetModel<PackModel>(); } } protected override void BindController() @@ -24,12 +26,14 @@ { closeBtn.AddListener(CloseClick); okBtn.AddListener(CloseClick); m_ToggleButton.AddListener(ToggleButtonClick); } protected override void OnPreOpen() { playerPack.RefreshDecomAttrAct += RefreshDecompose; RefreshDecompose(); m_ToggleButton.isOn = DayRemind.Instance.GetDayRemind(DayRemind.EquipDe); } protected override void OnAfterOpen() @@ -47,6 +51,12 @@ } void ToggleButtonClick() { m_ToggleButton.isOn = !m_ToggleButton.isOn; DayRemind.Instance.SetDayRemind(DayRemind.EquipDe, m_ToggleButton.isOn); } private void RefreshDecompose() { decomText.text = Language.Get("PetLetter2", playerPack.recordAutoDecomNum, playerPack.addDecomposeExp); System/MainInterfacePanel/InGamePushContainer.cs
@@ -270,7 +270,7 @@ private void CheckEquipDecompose() { if (playerPack.addDecomposeExp > 0 && playerPack.isAutoDecompose) && playerPack.isAutoDecompose && !DayRemind.Instance.GetDayRemind(DayRemind.EquipDe)) { m_DecomposePusher.SetActive(true); }