Enum TelemetricItem
- java.lang.Object
-
- java.lang.Enum<TelemetricItem>
-
- org.rspeer.game.service.telemetry.TelemetricItem
-
- All Implemented Interfaces:
Serializable
,Comparable<TelemetricItem>
public enum TelemetricItem extends Enum<TelemetricItem>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOWPIPE_DARTS
BLOWPIPE_SCALES
IBANS
RING_OF_ENDURANCE
RING_OF_SUFFERING
SANGUINESTI_STAFF
SERPENTINE_HELM
TOXIC_TRIDENT
TOXIC_TRIDENT_EXTENDED
TRIDENT
TRIDENT_EXTENDED
WARPED_SCEPTRE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRechargeThreshold()
void
resetThreshold()
void
setRechargeThreshold(IntSupplier rechargeThreshold)
Scripts should call this to change the default recharge threshold.static TelemetricItem
valueOf(String name)
Returns the enum constant of this type with the specified name.static TelemetricItem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOWPIPE_DARTS
public static final TelemetricItem BLOWPIPE_DARTS
-
BLOWPIPE_SCALES
public static final TelemetricItem BLOWPIPE_SCALES
-
IBANS
public static final TelemetricItem IBANS
-
WARPED_SCEPTRE
public static final TelemetricItem WARPED_SCEPTRE
-
TRIDENT_EXTENDED
public static final TelemetricItem TRIDENT_EXTENDED
-
TOXIC_TRIDENT
public static final TelemetricItem TOXIC_TRIDENT
-
TOXIC_TRIDENT_EXTENDED
public static final TelemetricItem TOXIC_TRIDENT_EXTENDED
-
TRIDENT
public static final TelemetricItem TRIDENT
-
SANGUINESTI_STAFF
public static final TelemetricItem SANGUINESTI_STAFF
-
RING_OF_SUFFERING
public static final TelemetricItem RING_OF_SUFFERING
-
RING_OF_ENDURANCE
public static final TelemetricItem RING_OF_ENDURANCE
-
SERPENTINE_HELM
public static final TelemetricItem SERPENTINE_HELM
-
-
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 nameNullPointerException
- 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()
-
-