少年修仙传客户端代码仓库
client_linchunjie
2018-09-14 a0ede150686a218c92b901b1f20aef12a9913890
Fight/MapTransferUtility.cs
@@ -80,7 +80,7 @@
        if (mapID != PlayerDatas.Instance.baseData.MapID)
        {
            if (_model.IsMapUnLocked(mapID) == false)
            if (_model.IsMapUnlocked(mapID) == false)
            {
                SysNotifyMgr.Instance.ShowTip("Map_Delivery");
                return;
@@ -408,7 +408,7 @@
            }
            // 判断地图是否解锁
            if (_model.IsMapUnLocked(_npcLocation.mapId) == false)
            if (_model.IsMapUnlocked(_npcLocation.mapId) == false)
            {
                SysNotifyMgr.Instance.ShowTip("Map_Delivery");
                return;
@@ -642,7 +642,7 @@
                return;
            }
            if (_model.IsMapUnLocked(npcLocation.mapId) == false)
            if (_model.IsMapUnlocked(npcLocation.mapId) == false)
            {
                SysNotifyMgr.Instance.ShowTip("Map_Delivery");
                return;
@@ -722,7 +722,7 @@
            MapModel _model = ModelCenter.Instance.GetModel<MapModel>();
            if (_model.IsMapUnLocked(mapID) == false)
            if (_model.IsMapUnlocked(mapID) == false)
            {
                SysNotifyMgr.Instance.ShowTip("Map_Delivery");
                return;
@@ -747,7 +747,7 @@
    public static bool Send_WorldTransfer(int mapId, Vector3 position, MapTransferType type, byte lineID = 255, int _npcId = 0)
    {
        if (!AssetSource.sceneFromEditor && VersionConfig.Get().assetAccess != InstalledAsset.IngoreDownLoad && !AssetVersionUtility.unPriorAssetDownLoadDone)
        if (!AssetSource.sceneFromEditor && !AssetVersionUtility.IsUnpriorAssetDownLoadOk())
        {
            var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(mapId, 0);
            var assetVersion = AssetVersionUtility.GetAssetVersion(StringUtility.Contact("maps/", mapResConfig.MapResources.ToLower()));
@@ -786,7 +786,7 @@
        //    return;
        //}
        //NPCConfig _npcConfig = ConfigManager.Instance.GetTemplate<NPCConfig>(NpcID);
        //NPCConfig _npcConfig = Config.Instance.Get<NPCConfig>(NpcID);
        //if (_npcConfig == null)
        //{
        //    return;