public enum AttachedParts extends java.lang.Enum<AttachedParts>
Enum Constant and Description |
---|
AAWS_M_JAVELIN
AAWS-M Javelin
|
M136_AT4
M136 AT4
|
M16A42_RIFLE
M16A42 rifle
|
M18A1_CLAYMORE_MINE
M18A1 Claymore Mine
|
M2_MACHINE_GUN
M2 Machine Gun
|
M203_GRENADE_LAUNCHER
M203 Grenade Launcher
|
M249_SAW
M249 SAW
|
M47_DRAGON
M47 Dragon
|
M60_MACHINE_GUN
M60 Machine gun
|
MK19_GRENADE_LAUNCHER
MK19 Grenade Launcher
|
NOTHING_EMPTY
Nothing, Empty
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static AttachedParts |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static AttachedParts |
unmarshalEnum(java.nio.ByteBuffer buff) |
static AttachedParts |
unmarshalEnum(java.io.DataInputStream dis) |
static AttachedParts |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttachedParts[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachedParts NOTHING_EMPTY
public static final AttachedParts M16A42_RIFLE
public static final AttachedParts M249_SAW
public static final AttachedParts M60_MACHINE_GUN
public static final AttachedParts M203_GRENADE_LAUNCHER
public static final AttachedParts M136_AT4
public static final AttachedParts M47_DRAGON
public static final AttachedParts AAWS_M_JAVELIN
public static final AttachedParts M18A1_CLAYMORE_MINE
public static final AttachedParts MK19_GRENADE_LAUNCHER
public static final AttachedParts M2_MACHINE_GUN
public static AttachedParts[] values()
for (AttachedParts c : AttachedParts.values()) System.out.println(c);
public static AttachedParts 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 AttachedParts getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff)
public static AttachedParts unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static AttachedParts unmarshalEnum(java.nio.ByteBuffer buff)
public int getMarshalledSize()