Example #1
0
        public void PaintTopInGame(ClipState clipState)
        {
            if (clipState != ClipState.BeforeClip)
            {
                return;
            }
            var   ui   = Hud.Render.GetUiElement("Root.NormalLayer.minimap_dialog_backgroundScreen.minimap_dialog_pve.BoostWrapper.BoostsDifficultyStackPanel.clock");
            var   ui2  = Hud.Render.GetUiElement("Root.NormalLayer.minimap_dialog_backgroundScreen.minimap_dialog_pve.minimap_pve_main");
            var   w    = 0;
            var   h    = ui.Rectangle.Height;
            float XPos = ui2.Rectangle.Left + ui2.Rectangle.Width / 3.5f;
            float YPos = ui.Rectangle.Top;

            if (Finished)
            {
                FinishedDecorator.Paint(XPos, YPos - h, w, h, "当前房间所有红门已进入过");
            }
            if (Times != 0)
            {
                TimesDecorator.Paint(XPos, YPos, w, h, "地狱火护符任务已完成:" + Times);
            }
        }
Example #2
0
        public void PaintTopInGame(ClipState clipState)
        {
            if (clipState != ClipState.BeforeClip)
            {
                return;
            }
            var   ui   = Hud.Render.GetUiElement("Root.NormalLayer.minimap_dialog_backgroundScreen.minimap_dialog_pve.BoostWrapper.BoostsDifficultyStackPanel.clock");
            var   ui2  = Hud.Render.GetUiElement("Root.NormalLayer.minimap_dialog_backgroundScreen.minimap_dialog_pve.minimap_pve_main");
            var   w    = 0;
            var   h    = ui.Rectangle.Height;
            float XPos = ui2.Rectangle.Left + ui2.Rectangle.Width / 3.4f; //3.5f
            float YPos = ui.Rectangle.Top;

            if (Finished)
            {
                FinishedDecorator.Paint(XPos, YPos - h, w, h, "All UberRealm Entered");
            }
            if (Times != 0)
            {
                TimesDecorator.Paint(XPos, YPos, w, h, "HellfireAmulet mission: " + Times);
            }
        }