少年修仙传客户端代码仓库
client_Wu Xijin
2018-12-21 d921514bc0969a32fd9b01715eb62990acac019a
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
2个文件已修改
42 ■■■■ 已修改文件
System/KnapSack/Logic/ItemTipsModel.cs 37 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowJump/WindowJumpMgr.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/ItemTipsModel.cs
@@ -767,14 +767,36 @@
        {
            if (attrData == null) return;
            var horseModel = ModelCenter.Instance.GetModel<PlayerMountDatas>();
            var petmodel = ModelCenter.Instance.GetModel<PlayerPetDatas>();
            bool isOverdue = modelInterface.IsOverdue(attrData.guid,attrData.itemId,attrData.useDataDict);
             switch(attrData.itemConfig.Type)
            HorseConfig horseConfig = null;
            PetInfoConfig petInfo = null;
            switch (attrData.itemConfig.Type)
            {
                case 26:
                    petInfo = unlockPetDict[attrData.itemId];
                    if (petmodel._DicPetBack.ContainsKey(petInfo.ID))
                    {
                        if (attrData.itemConfig.CanSell == 1)
                        {
                            attrData.SetTipsFuncBtn(ItemWinBtnType.sell, (ItemWinBtnType, ItemAttrData) => { PackSendQuestMgr.Instance.SendSellQuest(ItemWinBtnType.sell, attrData); });
                        }
                    }
                    break;
                case 41:
                    horseConfig = unlockMountDict[attrData.itemId];
                    if (horseModel._DicHorse.ContainsKey(horseConfig.HorseID))
                    {
                        if (attrData.itemConfig.CanSell == 1)
                        {
                            attrData.SetTipsFuncBtn(ItemWinBtnType.sell, (ItemWinBtnType, ItemAttrData) => { PackSendQuestMgr.Instance.SendSellQuest(ItemWinBtnType.sell, attrData); });
                        }
                    }
                    break;
                case 124:
                    HorseConfig horseConfig = unlockMountDict[attrData.itemConfig.EffectValueA1];
                    var horseModel = ModelCenter.Instance.GetModel<PlayerMountDatas>();
                    if (horseModel._DicHorse.ContainsKey(horseConfig.HorseID) && attrData.isBind == 1)
                    horseConfig = unlockMountDict[attrData.itemConfig.EffectValueA1];
                    if (horseModel._DicHorse.ContainsKey(horseConfig.HorseID))
                    {
                        if (attrData.itemConfig.CanSell == 1)
                        {
@@ -783,9 +805,8 @@
                    }
                    break;
                case 125:
                    PetInfoConfig petInfo = unlockPetDict[attrData.itemConfig.EffectValueA1];
                    var petmodel = ModelCenter.Instance.GetModel<PlayerPetDatas>();
                    if (petmodel._DicPetBack.ContainsKey(petInfo.ID) && attrData.isBind == 1)
                    petInfo = unlockPetDict[attrData.itemConfig.EffectValueA1];
                    if (petmodel._DicPetBack.ContainsKey(petInfo.ID))
                    {
                        if (attrData.itemConfig.CanSell == 1)
                        {
System/WindowJump/WindowJumpMgr.cs
@@ -201,6 +201,9 @@
            case JumpUIType.UnionStore:
                SetJumpLogic<UnionStoreWin>(_tagWinSearchModel.TABID);
                break;
            case JumpUIType.GatherSoul271:
                SetJumpLogic<GatherSoulComposeWin>(_tagWinSearchModel.TABID);
                break;
            case JumpUIType.UnionFunc1:
            case JumpUIType.UnionFunc2:
            case JumpUIType.UnionFunc3:
@@ -1522,7 +1525,7 @@
    EquipCompose268 = 268, //装备合成-8阶橙色2星玉佩
    EquipCompose269 = 269, //装备合成-9阶红色2星玉佩
    EquipCompose270 = 270, //装备合成-10阶红色3星玉佩
    GatherSoul271 = 271, //聚魂合成
    DhszTs = 1001,//定海神针功法提升界面
    HyqTs = 1002,//皓月枪功法提升界面
    GyzTs = 1003,//鬼牙刃功法提升界面