Enum 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 Detail


        public static final VarClientStr CHATBOX_TYPED_TEXT

        public static final VarClientStr PRIVATE_MESSAGE_TARGET

        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())
        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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getIndex

        public int getIndex()