public enum DEDamageDescriptionComponentDamageStatus extends java.lang.Enum<DEDamageDescriptionComponentDamageStatus>
Enum Constant and Description |
---|
DESTROYED
Destroyed
|
MAJOR_DAMAGE
Major Damage
|
MEDIUM_DAMAGE
Medium Damage
|
MINOR_DAMAGE
Minor Damage
|
NO_DAMAGE
No Damage
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static DEDamageDescriptionComponentDamageStatus |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static DEDamageDescriptionComponentDamageStatus |
unmarshalEnum(java.nio.ByteBuffer buff) |
static DEDamageDescriptionComponentDamageStatus |
unmarshalEnum(java.io.DataInputStream dis) |
static DEDamageDescriptionComponentDamageStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DEDamageDescriptionComponentDamageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DEDamageDescriptionComponentDamageStatus NO_DAMAGE
public static final DEDamageDescriptionComponentDamageStatus MINOR_DAMAGE
public static final DEDamageDescriptionComponentDamageStatus MEDIUM_DAMAGE
public static final DEDamageDescriptionComponentDamageStatus MAJOR_DAMAGE
public static final DEDamageDescriptionComponentDamageStatus DESTROYED
public static DEDamageDescriptionComponentDamageStatus[] values()
for (DEDamageDescriptionComponentDamageStatus c : DEDamageDescriptionComponentDamageStatus.values()) System.out.println(c);
public static DEDamageDescriptionComponentDamageStatus 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 DEDamageDescriptionComponentDamageStatus 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 DEDamageDescriptionComponentDamageStatus unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static DEDamageDescriptionComponentDamageStatus unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()