Enum TelemetricItem

    • Method Detail

      • values

        public static TelemetricItem[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TelemetricItem c : TelemetricItem.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TelemetricItem valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getRechargeThreshold

        public int getRechargeThreshold()
      • setRechargeThreshold

        public void setRechargeThreshold​(IntSupplier rechargeThreshold)
        Scripts should call this to change the default recharge threshold. For example in GWD while im at the boss, I prefer to keep the threshold lower (50-100 darts). but when I'm at the bank or restocking, I'll set it at 300-500 so I can recharge it before leaving for GWD.
      • resetThreshold

        public void resetThreshold()