From 6e06713184840bbf60e9d4994ab919212dca4eb1 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期日, 30 九月 2018 15:04:41 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/WorldMap/MapModel.cs | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/System/WorldMap/MapModel.cs b/System/WorldMap/MapModel.cs
index c030045..803fc2b 100644
--- a/System/WorldMap/MapModel.cs
+++ b/System/WorldMap/MapModel.cs
@@ -293,6 +293,21 @@
return null;
}
+ public bool CanOpenLocalMapWin(int mapId)
+ {
+ var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig();
+ var config = Config.Instance.Get<MapConfig>(mapId);
+ if (string.IsNullOrEmpty(mapResConfig.BigMap)
+ || mapId == FairyLeagueModel.FAIRY_LEAGUE_DUNGEON)
+ {
+ return false;
+ }
+ else
+ {
+ return true;
+ }
+ }
+
public int GetRecommendHangPoint(int _mapId)
{
var eventPoints = new List<int>(GetMapEventPoints(_mapId));
--
Gitblit v1.8.0