public enum AppearanceCamouflageType extends java.lang.Enum<AppearanceCamouflageType>
Enum Constant and Description |
---|
DESERT_CAMOUFLAGE
Desert Camouflage
|
FOREST_CAMOUFLAGE
Forest Camouflage
|
OTHER
Other
|
WINTER_CAMOUFLAGE
Winter Camouflage
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static AppearanceCamouflageType |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static AppearanceCamouflageType |
unmarshalEnum(java.nio.ByteBuffer buff) |
static AppearanceCamouflageType |
unmarshalEnum(java.io.DataInputStream dis) |
static AppearanceCamouflageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppearanceCamouflageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppearanceCamouflageType DESERT_CAMOUFLAGE
public static final AppearanceCamouflageType WINTER_CAMOUFLAGE
public static final AppearanceCamouflageType FOREST_CAMOUFLAGE
public static final AppearanceCamouflageType OTHER
public static AppearanceCamouflageType[] values()
for (AppearanceCamouflageType c : AppearanceCamouflageType.values()) System.out.println(c);
public static AppearanceCamouflageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static AppearanceCamouflageType getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static AppearanceCamouflageType unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static AppearanceCamouflageType unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()