Enum Constant and Description |
---|
FRIENDLY
Friendly
|
FRIENDLY_10
Friendly 10
|
FRIENDLY_2
Friendly 2
|
FRIENDLY_3
Friendly 3
|
FRIENDLY_4
Friendly 4
|
FRIENDLY_5
Friendly 5
|
FRIENDLY_6
Friendly 6
|
FRIENDLY_7
Friendly 7
|
FRIENDLY_8
Friendly 8
|
FRIENDLY_9
Friendly 9
|
NEUTRAL
Neutral
|
NEUTRAL_10
Neutral 10
|
NEUTRAL_2
Neutral 2
|
NEUTRAL_3
Neutral 3
|
NEUTRAL_4
Neutral 4
|
NEUTRAL_5
Neutral 5
|
NEUTRAL_6
Neutral 6
|
NEUTRAL_7
Neutral 7
|
NEUTRAL_8
Neutral 8
|
NEUTRAL_9
Neutral 9
|
OPPOSING
Opposing
|
OPPOSING_10
Opposing 10
|
OPPOSING_2
Opposing 2
|
OPPOSING_3
Opposing 3
|
OPPOSING_4
Opposing 4
|
OPPOSING_5
Opposing 5
|
OPPOSING_6
Opposing 6
|
OPPOSING_7
Opposing 7
|
OPPOSING_8
Opposing 8
|
OPPOSING_9
Opposing 9
|
OTHER
Other
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static ForceID |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static ForceID |
unmarshalEnum(java.nio.ByteBuffer buff) |
static ForceID |
unmarshalEnum(java.io.DataInputStream dis) |
static ForceID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ForceID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForceID OTHER
public static final ForceID FRIENDLY
public static final ForceID OPPOSING
public static final ForceID NEUTRAL
public static final ForceID FRIENDLY_2
public static final ForceID OPPOSING_2
public static final ForceID NEUTRAL_2
public static final ForceID FRIENDLY_3
public static final ForceID OPPOSING_3
public static final ForceID NEUTRAL_3
public static final ForceID FRIENDLY_4
public static final ForceID OPPOSING_4
public static final ForceID NEUTRAL_4
public static final ForceID FRIENDLY_5
public static final ForceID OPPOSING_5
public static final ForceID NEUTRAL_5
public static final ForceID FRIENDLY_6
public static final ForceID OPPOSING_6
public static final ForceID NEUTRAL_6
public static final ForceID FRIENDLY_7
public static final ForceID OPPOSING_7
public static final ForceID NEUTRAL_7
public static final ForceID FRIENDLY_8
public static final ForceID OPPOSING_8
public static final ForceID NEUTRAL_8
public static final ForceID FRIENDLY_9
public static final ForceID OPPOSING_9
public static final ForceID NEUTRAL_9
public static final ForceID FRIENDLY_10
public static final ForceID OPPOSING_10
public static final ForceID NEUTRAL_10
public static ForceID[] values()
for (ForceID c : ForceID.values()) System.out.println(c);
public static ForceID 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 ForceID 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 ForceID unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static ForceID unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()