From b4d5a32a7cc9035bb1efa29ad062cd2bd70ad898 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期二, 04 九月 2018 16:15:14 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/FindPrecious/FindPreciousModel.cs |   41 +++++++++++++++++++----------------------
 1 files changed, 19 insertions(+), 22 deletions(-)

diff --git a/System/FindPrecious/FindPreciousModel.cs b/System/FindPrecious/FindPreciousModel.cs
index 0a171ca..69a7498 100644
--- a/System/FindPrecious/FindPreciousModel.cs
+++ b/System/FindPrecious/FindPreciousModel.cs
@@ -1,10 +1,10 @@
-锘縰sing System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using System;
-using TableConfig;
-using System.Text;
-
+锘縰sing System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+using System;
+using TableConfig;
+using System.Text;
+
 namespace Snxxz.UI
 {
     public class FindPreciousModel : Model, IBeforePlayerDataInitialize, IAfterPlayerDataInitialize, IPlayerLoginOk, IMapInitOk, ISwitchAccount
@@ -14,7 +14,8 @@
         Redpoint findPreciousRedpoint = new Redpoint(FINDPRECIOUS_REDPOINTID);
 
         int m_ViewKillRecordsBoss = 0;
-        public int ViewKillRecordsBoss {
+        public int ViewKillRecordsBoss
+        {
             get { return this.m_ViewKillRecordsBoss; }
             set { this.m_ViewKillRecordsBoss = value; }
         }
@@ -23,9 +24,11 @@
         List<int> bossNotifies = new List<int>();
 
         int m_CurrentBossNotify = 0;
-        public int currentBossNotify {
+        public int currentBossNotify
+        {
             get { return m_CurrentBossNotify; }
-            private set {
+            private set
+            {
                 if (m_CurrentBossNotify != value)
                 {
                     m_CurrentBossNotify = value;
@@ -424,6 +427,10 @@
             {
                 return FindPreciousType.PersonalBoss;
             }
+            else if (Config.Instance.ContainKey<DogzDungeonConfig>(_bossId))
+            {
+                return FindPreciousType.DogzDungeon;
+            }
 
             return FindPreciousType.None;
         }
@@ -649,16 +656,6 @@
 
         }
 
-        public enum FindPreciousType
-        {
-            None,
-            WorldBoss,
-            BossHome,
-            PersonalBoss,
-            ElderGodArea,
-            DemonJar,
-        }
-
     }
-}
-
+}
+

--
Gitblit v1.8.0