From 9a8583c696c85286956048e4955e4314e46202a2 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 25 二月 2019 14:18:36 +0800
Subject: [PATCH] 3335 物品相关类型重构

---
 System/Dungeon/DungeonLiquidBehaviour.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/System/Dungeon/DungeonLiquidBehaviour.cs b/System/Dungeon/DungeonLiquidBehaviour.cs
index 1001b0d..5065a9a 100644
--- a/System/Dungeon/DungeonLiquidBehaviour.cs
+++ b/System/Dungeon/DungeonLiquidBehaviour.cs
@@ -30,12 +30,12 @@
             }
         }
 
-        PlayerBuffDatas m_BuffModel;
-        PlayerBuffDatas Buffmodel
+        BuffModel m_BuffModel;
+        BuffModel Buffmodel
         {
             get
             {
-                return m_BuffModel ?? (m_BuffModel = ModelCenter.Instance.GetModel<PlayerBuffDatas>());
+                return m_BuffModel ?? (m_BuffModel = ModelCenter.Instance.GetModel<BuffModel>());
             }
         }
 
@@ -49,8 +49,8 @@
         private void OnEnable()
         {
             ResetTween();
-            PlayerBuffDatas.Even_ObjAddBuf += UpdateBuf;
-            PlayerBuffDatas.Even_ObjDelBuff += UpdateBuf;
+            BuffModel.Even_ObjAddBuf += UpdateBuf;
+            BuffModel.Even_ObjDelBuff += UpdateBuf;
             UpdateBuf();
         }
 
@@ -91,8 +91,8 @@
 
         private void OnDisable()
         {
-            PlayerBuffDatas.Even_ObjAddBuf -= UpdateBuf;
-            PlayerBuffDatas.Even_ObjDelBuff -= UpdateBuf;
+            BuffModel.Even_ObjAddBuf -= UpdateBuf;
+            BuffModel.Even_ObjDelBuff -= UpdateBuf;
         }
 
         private void UpdateBuf()

--
Gitblit v1.8.0