少年修仙传客户端代码仓库
Client_PangDeRong
2018-09-07 9008d8f0ce4256f520a14aecb330dfc61c2a1d77
3344 增加麒麟之府不同层级跳转
2个文件已修改
32 ■■■■■ 已修改文件
System/Strengthening/EquipSuit/PlayerSuitModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowJump/WindowJumpMgr.cs 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Strengthening/EquipSuit/PlayerSuitModel.cs
@@ -843,7 +843,6 @@
        private bool IsShowRedPoint(int equipPlace, SuitType suitType)
        {
            DebugEx.Log("IsShowRedPoint:" + equipPlace);
            int groupType = GetGroupType(equipPlace);
            ItemModel itemModel = playerPack.GetItemModelByIndex(PackType.rptEquip, equipPlace);
            if (groupType == 0 || itemModel == null)
@@ -971,7 +970,6 @@
                            foreach(var id in needMatCntDict[groupType].Keys)
                            {
                                int haveCnt = playerPack.GetItemCountByID(PackType.rptItem, id);
                                DebugEx.Log(suitType + "装备位置:" + partlist[i]+  "有的数量" + haveCnt + "需要数量:" + needMatCntDict[groupType][id]);
                                if (haveCnt < needMatCntDict[groupType][id])
                                {
                                    isReach = false;
System/WindowJump/WindowJumpMgr.cs
@@ -201,6 +201,12 @@
                }
                break;
            case JumpUIType.Kylin:
            case JumpUIType.Kylin1:
            case JumpUIType.Kylin2:
            case JumpUIType.Kylin3:
            case JumpUIType.Kylin4:
            case JumpUIType.Kylin5:
            case JumpUIType.Kylin6:
                if (!FuncOpen.Instance.IsFuncOpen(85))
                {
                    FuncOpen.Instance.ProcessorFuncErrorTip((int)FuncOpenEnum.Kylin);
@@ -648,6 +654,16 @@
            case JumpUIType.Kylin:
                SetJumpLogic<MultipleDifficultyDungeonWin>(0);
                break;
            case JumpUIType.Kylin1:
            case JumpUIType.Kylin2:
            case JumpUIType.Kylin3:
            case JumpUIType.Kylin4:
            case JumpUIType.Kylin5:
            case JumpUIType.Kylin6:
                int tier = 0;
                int.TryParse(_tagWinSearchModel.SelectActive,out tier);
                GotoKylinDungeon(tier);
                break;
            case JumpUIType.VipRechargeFunc3:
            case JumpUIType.OSTimeLimitGift:
            case JumpUIType.FlashSale:
@@ -796,6 +812,13 @@
        dungeonModel.currentDungeon = new Dungeon(config.RelatedID, 0);
        dungeonModel.selectedKylinDungeon = default(Dungeon);
        SetJumpLogic<MultipleDifficultyDungeonWin>();
    }
    public void GotoKylinDungeon(int tier)
    {
        var dungeon = new Dungeon(31190,tier-1);
        dungeonModel.currentDungeon = dungeon;
        dungeonModel.selectedKylinDungeon = dungeon;
        SetJumpLogic<MultipleDifficultyDungeonWin>(0);
    }
    private void SetJumpLogic<T>(int _functionalOrder = 0, bool _forceSync = true) where T : Window
@@ -1217,6 +1240,13 @@
    OpenServerGift3 = 225, //超值礼包3
    TreasureCollectSoul = 226,//法宝集魂
    Kylin = 227,//跳转到麒麟之府, 不配置选中任何层
    Kylin1 = 228,//麒麟之府的1层
    Kylin2 = 229,//麒麟之府的2层
    Kylin3 = 230,//麒麟之府的3层
    Kylin4 = 231,//麒麟之府的4层
    Kylin5= 232,//麒麟之府的5层
    Kylin6 = 233,//麒麟之府的6层
    DhszTs = 1001,//定海神针功法提升界面
    HyqTs = 1002,//皓月枪功法提升界面
    GyzTs = 1003,//鬼牙刃功法提升界面