Package edu.nps.moves.dis7.enumerations
Enum AttachedParts
java.lang.Object
java.lang.Enum<AttachedParts>
edu.nps.moves.dis7.enumerations.AttachedParts
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AttachedParts>
,java.lang.constant.Constable
public enum AttachedParts extends java.lang.Enum<AttachedParts>
Generated from XML, SISO-REF-010-v25, 2018-08-29
UID 57 marshal size 32
Attached Parts
UID 57 marshal size 32
Attached Parts
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AAWS_M_JAVELIN
AAWS-M JavelinM136_AT4
M136 AT4M16A42_RIFLE
M16A42 rifleM18A1_CLAYMORE_MINE
M18A1 Claymore MineM2_MACHINE_GUN
M2 Machine GunM203_GRENADE_LAUNCHER
M203 Grenade LauncherM249_SAW
M249 SAWM47_DRAGON
M47 DragonM60_MACHINE_GUN
M60 Machine gunMK19_GRENADE_LAUNCHER
MK19 Grenade LauncherNOTHING_EMPTY
Nothing, Empty -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
static int
getEnumBitWidth()
static AttachedParts
getEnumForValue(int i)
int
getMarshalledSize()
int
getValue()
void
marshal(java.io.DataOutputStream dos)
void
marshal(java.nio.ByteBuffer buff)
java.lang.String
toString()
static AttachedParts
unmarshalEnum(java.io.DataInputStream dis)
static AttachedParts
unmarshalEnum(java.nio.ByteBuffer buff)
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.
-
Enum Constant Details
-
NOTHING_EMPTY
Nothing, Empty -
M16A42_RIFLE
M16A42 rifle -
M249_SAW
M249 SAW -
M60_MACHINE_GUN
M60 Machine gun -
M203_GRENADE_LAUNCHER
M203 Grenade Launcher -
M136_AT4
M136 AT4 -
M47_DRAGON
M47 Dragon -
AAWS_M_JAVELIN
AAWS-M Javelin -
M18A1_CLAYMORE_MINE
M18A1 Claymore Mine -
MK19_GRENADE_LAUNCHER
MK19 Grenade Launcher -
M2_MACHINE_GUN
M2 Machine Gun
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue() -
getDescription
public java.lang.String getDescription() -
getEnumBitWidth
public static int getEnumBitWidth() -
getEnumForValue
-
marshal
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException- Throws:
java.io.IOException
-
marshal
public void marshal(java.nio.ByteBuffer buff) -
unmarshalEnum
- Throws:
java.lang.Exception
-
unmarshalEnum
-
getMarshalledSize
public int getMarshalledSize() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<AttachedParts>
-