Package net.runelite.api
Enum VarClientStr
- java.lang.Object
-
- java.lang.Enum<VarClientStr>
-
- net.runelite.api.VarClientStr
-
- All Implemented Interfaces:
Serializable
,Comparable<VarClientStr>
public enum VarClientStr extends Enum<VarClientStr>
Client side only, content-developer strings VarCInts are stored entirely in memory, or locally on a user's machine in the preferences2.dat file depending on how Jagex configured the variable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHATBOX_TYPED_TEXT
INPUT_TEXT
PRIVATE_MESSAGE_TARGET
RECENT_FRIENDS_CHAT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
static VarClientStr
valueOf(String name)
Returns the enum constant of this type with the specified name.static VarClientStr[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHATBOX_TYPED_TEXT
public static final VarClientStr CHATBOX_TYPED_TEXT
-
INPUT_TEXT
public static final VarClientStr INPUT_TEXT
-
PRIVATE_MESSAGE_TARGET
public static final VarClientStr PRIVATE_MESSAGE_TARGET
-
RECENT_FRIENDS_CHAT
public static final VarClientStr RECENT_FRIENDS_CHAT
-
-
Method Detail
-
values
public static VarClientStr[] 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 (VarClientStr c : VarClientStr.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VarClientStr 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
-
getIndex
public int getIndex()
-
-