Enum Class BaseVarType

java.lang.Object
java.lang.Enum<BaseVarType>
net.botwithus.rs3.game.js5.types.vars.BaseVarType
All Implemented Interfaces:
Serializable, Comparable<BaseVarType>, Constable

public enum BaseVarType extends Enum<BaseVarType>
  • Enum Constant Details

    • INTEGER

      public static final BaseVarType INTEGER
    • LONG

      public static final BaseVarType LONG
    • STRING

      public static final BaseVarType STRING
    • COORDFINE

      public static final BaseVarType COORDFINE
    • UNKNOWN_TYPE

      public static final BaseVarType UNKNOWN_TYPE
    • FLOAT

      public static final BaseVarType FLOAT
    • UNKNOWN_TYPE1

      public static final BaseVarType UNKNOWN_TYPE1
    • UNSIGNED_SHORT

      public static final BaseVarType UNSIGNED_SHORT
    • UNKNOWN_TYPE2

      public static final BaseVarType UNKNOWN_TYPE2
    • UNKNOWN_TYPE3

      public static final BaseVarType UNKNOWN_TYPE3
  • Method Details

    • values

      public static BaseVarType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BaseVarType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • decodeType

      public abstract Object decodeType(@NotNull @NotNull ByteBuffer buffer)