From a5390b793d8a629cd611746be3d9271e554f7e28 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期四, 06 九月 2018 20:40:19 +0800
Subject: [PATCH] 3321 前端  成长基金广播跳转提示

---
 System/Vip/FairyJadeInvestmentModel.cs |   36 ++++++++++++++++++++++++++++++++++--
 1 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/System/Vip/FairyJadeInvestmentModel.cs b/System/Vip/FairyJadeInvestmentModel.cs
index 05c944b..a824fbd 100644
--- a/System/Vip/FairyJadeInvestmentModel.cs
+++ b/System/Vip/FairyJadeInvestmentModel.cs
@@ -358,10 +358,42 @@
             }
 
         }
-
-
     }
 
+    public void MessageNotification()
+    {
+        var _funcOrder = 0;
+        if (!OpenServerActivityCenter.Instance.IsAnyActivityOpen(out _funcOrder))
+        {
+            SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit1");//淇℃伅鎻愮ず
+            return;
+        }
+        else if (InvestmentGrade <= 0 && PlayerDatas.Instance.baseData.LV >= 300)
+        {
+            SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit2");//淇℃伅鎻愮ず
+            return;
+        }
+        else
+        {
+            bool isOpen = false;
+            if (InvestmentGrade == 4)
+            {
+                foreach (int key in InfoSeriors.Keys)
+                {
+                    if (InfoSeriors[key] != 4)
+                    {
+                        isOpen = true;
+                    }
+                }
+            }
+            if (!isOpen && PlayerDatas.Instance.baseData.LV >= 300)
+            {
+                SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit3");//淇℃伅鎻愮ず
+                return;
+            }
+        }
+
+    }
 
 }
 

--
Gitblit v1.8.0