少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-01 c90cdd78c2bf8bcfa25cec7432a5876f6085ecfb
Fight/MapTransferUtility.cs
@@ -19,14 +19,11 @@
        Fight,
    }
    private E_MapTransferDoType m_MapTransferType;
    public E_MapTransferDoType MapTransferDoType
    {
        get
        {
    public E_MapTransferDoType MapTransferDoType {
        get {
            return m_MapTransferType;
        }
        set
        {
        set {
            m_MapTransferType = value;
#if UNITY_EDITOR
            // Debug.LogFormat("设置方式: {0}", m_MapTransferType);
@@ -125,8 +122,7 @@
    #endregion
    #region npc
    public int NpcID
    {
    public int NpcID {
        get; set;
    }
    #endregion
@@ -493,11 +489,6 @@
            _model.RequestMapTransport(_npcLocation.mapId);
            m_SwitchMapFinished = false;
            m_MapID = _npcLocation.mapId;
            MapResourcesConfig _mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(_npcLocation.mapId, 0);
            if (_mapResConfig != null)
            {
                LoadingWin.targetMapResId = _mapResConfig.ID;
            }
        }
        // 找不到或者是本地图
        // 找不到可能是客户端对象,也可能是配置不存在
@@ -731,15 +722,6 @@
                SysNotifyMgr.Instance.ShowTip("PK_Leave");
                return;
            }
            MapResourcesConfig _config = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(npcLocation.mapId, 0);
            if (_config != null)
            {
                LoadingWin.targetMapResId = _config.ID;
            }
            else
            {
                LoadingWin.targetMapResId = 1;
            }
        }
        _hero.Behaviour.StopHandupAI(true);
@@ -799,16 +781,6 @@
                SysNotifyMgr.Instance.ShowTip("Map_Delivery");
                return;
            }
            MapResourcesConfig _config = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(mapID, 0);
            if (_config != null)
            {
                LoadingWin.targetMapResId = _config.ID;
            }
            else
            {
                LoadingWin.targetMapResId = 1;
            }
        }
        _hero.Behaviour.StopHandupAI(true);
@@ -826,7 +798,6 @@
        if (!AssetSource.sceneFromEditor)
        {
            var mapResConfig = DTCA127_tagMCStartChangeMap.GetMapResourcesConfig(mapId, 0);
            var assetValid = AssetVersionUtility.IsSceneAssetValid(mapId, 0);
            if (!assetValid)
            {