Package net.runelite.api
Enum VarClientInt
- java.lang.Object
-
- java.lang.Enum<VarClientInt>
-
- net.runelite.api.VarClientInt
-
- All Implemented Interfaces:
Serializable
,Comparable<VarClientInt>
public enum VarClientInt extends Enum<VarClientInt>
Client side only, content-developer integers 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 CAMERA_ZOOM_FIXED_VIEWPORT
The game sets this to the same value asCAMERA_ZOOM_RESIZABLE_VIEWPORT
CAMERA_ZOOM_RESIZABLE_VIEWPORT
INPUT_TYPE
Current message layer modeINVENTORY_TAB
MEMBERSHIP_STATUS
TOOLTIP_TIMEOUT
TOOLTIP_VISIBLE
0 = no tooltip displayed 1 = tooltip displayingWORLD_MAP_SEARCH_FOCUSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndex()
static VarClientInt
valueOf(String name)
Returns the enum constant of this type with the specified name.static VarClientInt[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOOLTIP_TIMEOUT
public static final VarClientInt TOOLTIP_TIMEOUT
-
TOOLTIP_VISIBLE
public static final VarClientInt TOOLTIP_VISIBLE
0 = no tooltip displayed 1 = tooltip displaying
-
INPUT_TYPE
public static final VarClientInt INPUT_TYPE
Current message layer mode- See Also:
InputType
-
CAMERA_ZOOM_FIXED_VIEWPORT
public static final VarClientInt CAMERA_ZOOM_FIXED_VIEWPORT
The game sets this to the same value asCAMERA_ZOOM_RESIZABLE_VIEWPORT
-
CAMERA_ZOOM_RESIZABLE_VIEWPORT
public static final VarClientInt CAMERA_ZOOM_RESIZABLE_VIEWPORT
-
MEMBERSHIP_STATUS
public static final VarClientInt MEMBERSHIP_STATUS
-
INVENTORY_TAB
public static final VarClientInt INVENTORY_TAB
-
WORLD_MAP_SEARCH_FOCUSED
public static final VarClientInt WORLD_MAP_SEARCH_FOCUSED
-
-
Method Detail
-
values
public static VarClientInt[] 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 (VarClientInt c : VarClientInt.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VarClientInt 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()
-
-