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/Mount/MountStoneTipsWin.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/System/Mount/MountStoneTipsWin.cs b/System/Mount/MountStoneTipsWin.cs
index 34bff6f..26da1cc 100644
--- a/System/Mount/MountStoneTipsWin.cs
+++ b/System/Mount/MountStoneTipsWin.cs
@@ -25,12 +25,12 @@
private Dictionary<int, int> tag_Item = new Dictionary<int, int>();//鍧愰獞榄傜煶瀛�
Dictionary<string, ItemConfig> tagCIM = new Dictionary<string, ItemConfig>();
private List<int> ListID = new List<int>();
- PlayerMountDatas m_HorseModel;
- PlayerMountDatas horsemodel
+ MountModel m_HorseModel;
+ MountModel horsemodel
{
get
{
- return m_HorseModel ?? (m_HorseModel = ModelCenter.Instance.GetModel<PlayerMountDatas>());
+ return m_HorseModel ?? (m_HorseModel = ModelCenter.Instance.GetModel<MountModel>());
}
}
protected override void BindController()
@@ -58,7 +58,7 @@
protected override void OnAfterOpen()
{
- PlayerMountDatas.Event_MountHA339U += HA339;
+ MountModel.Event_MountHA339U += HA339;
roleParticularModel.PowerUpdate += PowerUpdate;
}
@@ -70,7 +70,7 @@
protected override void OnAfterClose()
{
m_ScrollerController.OnRefreshCell -= OnRefreshGridCell;
- PlayerMountDatas.Event_MountHA339U -= HA339;
+ MountModel.Event_MountHA339U -= HA339;
roleParticularModel.PowerUpdate -= PowerUpdate;
}
--
Gitblit v1.8.0