public enum LifeFormHumanSpecificDroneGuns extends java.lang.Enum<LifeFormHumanSpecificDroneGuns>
Enum Constant and Description |
---|
DRONEGUN_MKII
DroneGun MKII
|
DRONEGUN_TACTICAL
DroneGun Tactical
|
OTHER
Other
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static LifeFormHumanSpecificDroneGuns |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static LifeFormHumanSpecificDroneGuns |
unmarshalEnum(java.nio.ByteBuffer buff) |
static LifeFormHumanSpecificDroneGuns |
unmarshalEnum(java.io.DataInputStream dis) |
static LifeFormHumanSpecificDroneGuns |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifeFormHumanSpecificDroneGuns[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifeFormHumanSpecificDroneGuns OTHER
public static final LifeFormHumanSpecificDroneGuns DRONEGUN_TACTICAL
public static final LifeFormHumanSpecificDroneGuns DRONEGUN_MKII
public static LifeFormHumanSpecificDroneGuns[] values()
for (LifeFormHumanSpecificDroneGuns c : LifeFormHumanSpecificDroneGuns.values()) System.out.println(c);
public static LifeFormHumanSpecificDroneGuns 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 LifeFormHumanSpecificDroneGuns 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 LifeFormHumanSpecificDroneGuns unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static LifeFormHumanSpecificDroneGuns unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()