Advertisement
uhmm

ToggleHexingPants.cs

Feb 3rd, 2022
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.07 KB | None | 0 0
  1. using Turbo.plugins.patrick.autoactions.actions.rift;
  2.  
  3. namespace Turbo.plugins.patrick.hotkeys.actions.rift
  4. {
  5.     using System;
  6.     using System.Collections.Generic;
  7.     using System.Linq;
  8.     using actions;
  9.     using plugins.patrick.util.logger;
  10.     using parameters;
  11.     using Plugins;
  12.     using util.diablo;
  13.     using util.input;
  14.     using util.thud;
  15.     using Settings = Plugins.Patrick.forms.Settings;
  16.  
  17.     public class ToggleHexingPants : AbstractHotkeyAction
  18.     {
  19.         public override HotkeyType type => HotkeyType.Rift;
  20.  
  21.         protected override string GetAttributes() => "";
  22.  
  23.         public override List<AbstractParameter> GetParameters()
  24.         {
  25.             return new List<AbstractParameter>();
  26.         }
  27.  
  28.         public override bool PreconditionSatisfied(IController hud)
  29.         {
  30.             return true;
  31.         }
  32.  
  33.         public override string tooltip => "Toggles Hexing Pants shuffle.";
  34.  
  35.         public override void Invoke(IController hud)
  36.         {
  37.             HexingPants.ToggledOn = !HexingPants.ToggledOn;
  38.         }
  39.  
  40.     }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement