| | |
| | |
|
| | | public bool IsJumpState { get; private set; }
|
| | | private int jumpPhase = 0;
|
| | |
|
| | | public int jumpType { get; private set; }
|
| | | public void GetPreAllOpenWin()
|
| | | {
|
| | | jumpPhase += 1;
|
| | |
| | | {
|
| | | IsJumpState = false;
|
| | | jumpPhase = 0;
|
| | | jumpType = 0;
|
| | | openWindows.Clear();
|
| | | jumpWinNameDict.Clear();
|
| | | WindowCenter.Instance.jumpWindowCloseEvent -= CloseWindow;
|
| | |
| | | case JumpUIType.SkillFunc1:
|
| | | case JumpUIType.SkillFunc2:
|
| | | case JumpUIType.SkillFunc3:
|
| | | case JumpUIType.SkillFunc2Type2:
|
| | | SetJumpLogic<SkillPanel>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.StrengthFunc1:
|
| | |
| | | SetJumpLogic<FindPreciousFrameWin>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.LootPreciousFrameFunc1:
|
| | | case JumpUIType.DogzDungeon:
|
| | | SetJumpLogic<LootPreciousFrameWin>(_tagWinSearchModel.TABID);
|
| | | break;
|
| | | case JumpUIType.LootPreciousFrameSpec:
|
| | |
| | | SetJumpLogic<TreasureLevelUpWin>(0);
|
| | | break;
|
| | | case JumpUIType.Kylin:
|
| | | dungeonModel.currentDungeon = new Dungeon(31190, 0);
|
| | | SetJumpLogic<MultipleDifficultyDungeonWin>(0);
|
| | | break;
|
| | | case JumpUIType.Kylin1:
|
| | |
| | | IsJumpState = false;
|
| | | openWindows.Clear();
|
| | | jumpWinNameDict.Clear();
|
| | | jumpType = 0;
|
| | | jumpPhase = 0;
|
| | | break;
|
| | | }
|
| | |
| | |
|
| | | private void SetJumpLogic<T>(int _functionalOrder = 0, bool _forceSync = true) where T : Window
|
| | | {
|
| | |
|
| | | string curOpenWin = typeof(T).Name;
|
| | | jumpWinNameDict.Add(jumpPhase, curOpenWin);
|
| | | jumpType = _tagWinSearchModel.Type;
|
| | | switch (_tagWinSearchModel.Type)
|
| | | {
|
| | | case 1:
|
| | |
| | | }
|
| | | DebugEx.Log("关闭界面类型:" + _tagWinSearchModel.Type);
|
| | | WindowCenter.Instance.jumpWindowCloseEvent -= CloseWindow;
|
| | |
|
| | | jumpType = _tagWinSearchModel.Type;
|
| | | int i = 0;
|
| | | List<string> openWinlist = null;
|
| | | switch (_tagWinSearchModel.Type)
|
| | |
| | | KnapSackFunc4 = 8,
|
| | | SkillFunc1 = 9,
|
| | | SkillFunc2 = 10,
|
| | | SkillFunc2Type2 = 243, //被动技能界面
|
| | | SkillFunc3 = 11,
|
| | | StrengthFunc1 = 12,
|
| | | StrengthFunc2 = 13,
|
| | |
| | | WelfareFunc1 = 102, //签到
|
| | | WelfareFunc2 = 103, //祈愿
|
| | | LootPreciousFrameFunc1 = 104, //封魔坛
|
| | | DogzDungeon = 242, //异兽之地
|
| | | SystemSettingFunc1 = 109,//挂机设置
|
| | |
|
| | | RebornOpenBag = 113,//死亡复活打开背包
|