Enum CS2VarType
- java.lang.Object
-
- java.lang.Enum<CS2VarType>
-
- com.runemate.game.api.hybrid.cache.CS2VarType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CS2VarType>
public enum CS2VarType extends java.lang.Enum<CS2VarType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
CHAR
COLOUR
COMPONENT
COORDGRID
DBROW
ENUM
FONTMETRICS
GRAPHIC
HITMARK
IDKIT
INTEGER
INV
JINGLE
LOC
a.k.aObject
.MAPELEMENT
MAPSCENEICON
MIDI
MODEL
NAMEDOBJ
AnOBJ
with an allocated internal nameNPC
OBJ
a.k.a.SEQ
SPOTANIM
STAT
STRING
STRUCT
SYNTH
TEXTURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CS2VarType
fromChar(char key)
static CS2VarType
fromId(int id)
int
getId()
char
getKeyChar()
java.lang.String
getTypeName()
static CS2VarType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CS2VarType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final CS2VarType INTEGER
-
BOOLEAN
public static final CS2VarType BOOLEAN
-
SEQ
public static final CS2VarType SEQ
-
COLOUR
public static final CS2VarType COLOUR
-
COMPONENT
public static final CS2VarType COMPONENT
-
IDKIT
public static final CS2VarType IDKIT
-
MIDI
public static final CS2VarType MIDI
-
NAMEDOBJ
public static final CS2VarType NAMEDOBJ
AnOBJ
with an allocated internal name
-
SYNTH
public static final CS2VarType SYNTH
-
STAT
public static final CS2VarType STAT
-
COORDGRID
public static final CS2VarType COORDGRID
-
GRAPHIC
public static final CS2VarType GRAPHIC
-
FONTMETRICS
public static final CS2VarType FONTMETRICS
-
ENUM
public static final CS2VarType ENUM
-
JINGLE
public static final CS2VarType JINGLE
-
LOC
public static final CS2VarType LOC
a.k.aObject
.
-
MODEL
public static final CS2VarType MODEL
-
NPC
public static final CS2VarType NPC
-
OBJ
public static final CS2VarType OBJ
a.k.a.Item
.
-
STRING
public static final CS2VarType STRING
-
SPOTANIM
public static final CS2VarType SPOTANIM
-
INV
public static final CS2VarType INV
-
TEXTURE
public static final CS2VarType TEXTURE
-
CHAR
public static final CS2VarType CHAR
-
MAPSCENEICON
public static final CS2VarType MAPSCENEICON
-
MAPELEMENT
public static final CS2VarType MAPELEMENT
-
HITMARK
public static final CS2VarType HITMARK
-
STRUCT
public static final CS2VarType STRUCT
-
DBROW
public static final CS2VarType DBROW
-
-
Method Detail
-
values
public static CS2VarType[] 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 (CS2VarType c : CS2VarType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CS2VarType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromId
public static CS2VarType fromId(int id)
-
fromChar
public static CS2VarType fromChar(char key)
-
getId
public int getId()
-
getKeyChar
public char getKeyChar()
-
getTypeName
public java.lang.String getTypeName()
-
-