コード例 #1
0
        public static void ProcessChanges()
        {
            UILinkPage value = Pages[OldPage];

            if (OldPage != CurrentPage)
            {
                value.Leave();
                if (!Pages.TryGetValue(CurrentPage, out value))
                {
                    GoToDefaultPage();
                    ProcessChanges();
                    OverridePoint = -1;
                }
                value.CurrentPoint = value.DefaultPoint;
                value.Enter();
                value.Update();
                OldPage = CurrentPage;
            }
            if (OverridePoint != -1 && value.LinkMap.ContainsKey(OverridePoint))
            {
                value.CurrentPoint = OverridePoint;
            }
        }
コード例 #2
0
        // Token: 0x06000C9F RID: 3231 RVA: 0x003DADD0 File Offset: 0x003D8FD0
        public static void ProcessChanges()
        {
            UILinkPage uILinkPage = UILinkPointNavigator.Pages[UILinkPointNavigator.OldPage];

            if (UILinkPointNavigator.OldPage != UILinkPointNavigator.CurrentPage)
            {
                uILinkPage.Leave();
                if (!UILinkPointNavigator.Pages.TryGetValue(UILinkPointNavigator.CurrentPage, out uILinkPage))
                {
                    UILinkPointNavigator.GoToDefaultPage(0);
                    UILinkPointNavigator.ProcessChanges();
                    UILinkPointNavigator.OverridePoint = -1;
                }
                uILinkPage.CurrentPoint = uILinkPage.DefaultPoint;
                uILinkPage.Enter();
                uILinkPage.Update();
                UILinkPointNavigator.OldPage = UILinkPointNavigator.CurrentPage;
            }
            if (UILinkPointNavigator.OverridePoint != -1 && uILinkPage.LinkMap.ContainsKey(UILinkPointNavigator.OverridePoint))
            {
                uILinkPage.CurrentPoint = UILinkPointNavigator.OverridePoint;
            }
        }
コード例 #3
0
        public static void ProcessChanges()
        {
            UILinkPage page = UILinkPointNavigator.Pages[UILinkPointNavigator.OldPage];

            if (UILinkPointNavigator.OldPage != UILinkPointNavigator.CurrentPage)
            {
                page.Leave();
                if (!UILinkPointNavigator.Pages.TryGetValue(UILinkPointNavigator.CurrentPage, out page))
                {
                    UILinkPointNavigator.GoToDefaultPage(0);
                    UILinkPointNavigator.ProcessChanges();
                    UILinkPointNavigator.OverridePoint = -1;
                }
                page.CurrentPoint = page.DefaultPoint;
                page.Enter();
                page.Update();
                UILinkPointNavigator.OldPage = UILinkPointNavigator.CurrentPage;
            }
            if (UILinkPointNavigator.OverridePoint == -1 || !page.LinkMap.ContainsKey(UILinkPointNavigator.OverridePoint))
            {
                return;
            }
            page.CurrentPoint = UILinkPointNavigator.OverridePoint;
        }