少年修仙传客户端代码仓库
client_linchunjie
2019-01-08 59dc6916c89ad1b3a2f7a18a89b7c00aa260f00e
5729 【前端】【1.5】时装功能开发
2个文件已修改
6 ■■■■■ 已修改文件
Core/NetworkPackage/DTCFile/ServerPack/HB1_Role/DTCB102_tagMCClothesCoatSkinState.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FashionDress/FashionDressCell.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/NetworkPackage/DTCFile/ServerPack/HB1_Role/DTCB102_tagMCClothesCoatSkinState.cs
@@ -3,6 +3,7 @@
//    [  Date ]:           Tuesday, January 08, 2019
//--------------------------------------------------------
using Snxxz.UI;
using System;
using System.Collections;
using System.Collections.Generic;
@@ -13,7 +14,7 @@
    {
        base.Done(vNetPack);
        var package = vNetPack as HB102_tagMCClothesCoatSkinState;
        ModelCenter.Instance.GetModel<FashionDressModel>().ReceivePackage(package);
    }
}
System/FashionDress/FashionDressCell.cs
@@ -51,6 +51,7 @@
            var fashionDressLevel = model.GetFashionDressLevel(fashionDressId);
            m_ContainerDarkMask.gameObject.SetActive(fashionDressLevel == 0);
            m_ContainerStars.gameObject.SetActive(fashionDressLevel > 0);
            m_GetPath.gameObject.SetActive(fashionDressLevel == 0);
            m_UnlockRedpoint.gameObject.SetActive(model.levelUpRedpoint.state == RedPointState.Simple
                && model.fashionDressRedpointId == fashionDressId);
@@ -72,7 +73,7 @@
                m_LevelUp.gameObject.SetActive(fashionDressLevel > 0 && fashionDressLevel < fashionDress.maxLevel);
                bool isMax = fashionDressLevel >= fashionDress.maxLevel;
                var count = packModel.GetItemCountByID(PackType.rptItem, equipItemId);
                var count = packModel.GetItemCountByID(PackType.rptItem, fashionDress.requireLevelUpItem);
                m_Item.SetItem(equipItemId, 0);
                var levelUpRequireCount = fashionDress.GetLevelUpRequireCount(fashionDressLevel);
                var requireCountDisplay = UIHelper.AppendStringColor(count >= levelUpRequireCount ?