Beispiel #1
0
 public void OnKeyEvent(IKeyEvent keyEvent)
 {
     if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent))
     {
         Show = !Show;
     }
 }
Beispiel #2
0
 public void OnKeyEvent(IKeyEvent keyEvent)
 {
     if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent))
     {
         TurnedOn = !TurnedOn;
     }
 }
 public void OnKeyEvent(IKeyEvent keyEvent)
 {
     if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent))
     {
         Debug = !Debug;
     }
 }
Beispiel #4
0
 public void OnKeyEvent(IKeyEvent keyEvent)
 {
     if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent) && ToggleEnable)
     {
         TurnedOn    = !TurnedOn;
         currentYard = TurnedOn ? MaxYard : BaseYard;
     }
 }
Beispiel #5
0
        public void OnKeyEvent(IKeyEvent keyEvent)
        {
            if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent))
            {
                Hud.TextLog.Log("Scenes", "start", false, false);
                foreach (var Debug in SceneDebug)
                {
                    string debugtext = "\"" + Debug + "\"" + ", ";
                    Hud.TextLog.Log("Scenes", debugtext, false, true);
                }

                Show = !Show;
            }
        }
Beispiel #6
0
 public void OnKeyEvent(IKeyEvent keyEvent)
 {
     if (keyEvent.IsPressed && ToggleKeyEvent.Matches(keyEvent))
     {
         if (!Show)          //toggle on if pressed F6
         {
             Show = !Show;   //no off switch !!
         }
         else if (Show && OnlyShowOnBountyTable)
         {
             Show = !Show;
         }
     }
 }