From 85d6bea98caca7d78674ba9bd0aeab297f3fbb79 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期六, 25 五月 2019 14:05:14 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Alchemy/AlchemyModel.cs | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/System/Alchemy/AlchemyModel.cs b/System/Alchemy/AlchemyModel.cs
index b885e7e..f5d715e 100644
--- a/System/Alchemy/AlchemyModel.cs
+++ b/System/Alchemy/AlchemyModel.cs
@@ -67,6 +67,9 @@
public int jumpAlchemy { get; set; }
+ public bool alchemyNormalNotifySymbol { get; set; }
+ public bool alchemyFairyNotifySymbol { get; set; }
+
public bool isServerPrepare { get; private set; }
public event Action selectQualityRefresh;
@@ -474,6 +477,28 @@
{
var data = package.InfoList[i];
m_AlchemyTimes[(int)data.AlchemyID] = data.StartTime;
+
+ if (isServerPrepare)
+ {
+ var config = AlchemyConfig.Get((int)data.AlchemyID);
+ if (config != null)
+ {
+ if ((AlchemyType)config.AlchemType == AlchemyType.Normal)
+ {
+ alchemyNormalNotifySymbol = false;
+ }
+ if ((AlchemyType)config.AlchemType == AlchemyType.Fairy)
+ {
+ alchemyFairyNotifySymbol = false;
+ }
+ }
+ }
+ }
+
+ if (package.StoveCnt == 0)
+ {
+ alchemyNormalNotifySymbol = false;
+ alchemyFairyNotifySymbol = false;
}
var lastLevel = stoveLevel;
--
Gitblit v1.8.0