少年修仙传客户端代码仓库
client_Hale
2019-01-14 4ba0e46b9fe7c55e2f1e2f401f72c1e2648e6c7f
5729 【前端】【1.5】时装功能开发 时装手臂拆分逻辑
2个文件已修改
16 ■■■■■ 已修改文件
Fight/GameActor/GActor.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActorPlayerBase.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActor.cs
@@ -642,7 +642,7 @@
        {
            if (!TryGetValidPos(_clntPos, ref _adjustPos))
            {
                Debug.LogErrorFormat("服务端给定坐标: {0} 映射至客户端坐标: {1} 为客户端无法矫正的障碍点...当前地图: {2}",
                Debug.LogWarningFormat("服务端给定坐标: {0} 映射至客户端坐标: {1} 为客户端无法矫正的障碍点...当前地图: {2}",
                    new Vector2(sPosX, sPosY), new Vector2(_clntPos.x, _clntPos.z), PlayerDatas.Instance.baseData.MapID);
                return;
            }
Fight/GameActor/GActorPlayerBase.cs
@@ -1223,13 +1223,13 @@
        if (onOrOff)
        {
            EquipInfo _equipInfo;
            int _itemID = 4100;
            int _itemID = 7000;
            if (!m_EquipDict.TryGetValue((int)RoleEquipType.retFashionClothes, out _equipInfo))
            {
                if (!m_EquipDict.TryGetValue((int)RoleEquipType.retClothes, out _equipInfo))
                {
                    _itemID = 4100;
                    _itemID = 7000;
                }
            }
@@ -1238,8 +1238,12 @@
                _itemID = (int)_equipInfo.itemID;
            }
            var _itemConfig = Config.Instance.Get<ItemConfig>(_itemID);
            int _resID = ModelResConfig.GetHandByClothesID(_itemConfig.ChangeOrd);
            int _resID = 7000;
            if (_itemID != 7000)
            {
                var _itemConfig = Config.Instance.Get<ItemConfig>(_itemID);
                _resID = ModelResConfig.GetHandByClothesID(_itemConfig.ChangeOrd);
            }
            if (m_HandModel)
            {
@@ -1267,7 +1271,7 @@
                {
                    return;
                }
                m_HandModel = null;
                HandResID = 0;
            }
        }