From 8c1a1449c4030cf42418e31d3045f3e05d5efd87 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期日, 19 一月 2020 21:26:59 +0800
Subject: [PATCH] 0312 优化第一次上限的直升显示

---
 Core/GameEngine/Model/Player/PlayerDatas.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/Core/GameEngine/Model/Player/PlayerDatas.cs b/Core/GameEngine/Model/Player/PlayerDatas.cs
index c580eaa..2188957 100644
--- a/Core/GameEngine/Model/Player/PlayerDatas.cs
+++ b/Core/GameEngine/Model/Player/PlayerDatas.cs
@@ -31,6 +31,7 @@
     public List<uint> maliciousAtkPlayer = new List<uint>();// 鍙戝姩鎭舵剰鏀诲嚮鐨勭帺瀹跺垪琛�
     private int m_Tick;
     public uint crossServerTick;
+    public uint changeLV = 0; //褰撳墠鍗噚绾�
 
     public event Action worldLevelUpdateEvent;
     public event Action<E_AttackMode> OnSwitchAttackMode;
@@ -40,7 +41,6 @@
     public event Action<PlayerDataType, int> attributePromoteEvent;
     public event Action<long> spNewGetEvent;
 
-    public event Action<uint> playerLVUpdateEvent;
 
     private Dictionary<PlayerDataType, int> PlayerDataDict = new Dictionary<PlayerDataType, int>();
 
@@ -252,8 +252,7 @@
 
                     }
                 }
-                if (playerLVUpdateEvent != null)
-                    playerLVUpdateEvent(value - baseData.LV);
+                changeLV = value - baseData.LV;
                 baseData.LV = (ushort)value;
                 break;
             case PlayerDataType.TotalExp:

--
Gitblit v1.8.0