Package edu.nps.moves.dis7.enumerations
Enum DetonationResult
java.lang.Object
java.lang.Enum<DetonationResult>
edu.nps.moves.dis7.enumerations.DetonationResult
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DetonationResult>
,java.lang.constant.Constable
public enum DetonationResult extends java.lang.Enum<DetonationResult>
Generated from XML, SISO-REF-010-v25, 2018-08-29
UID 62 marshal size 8
Detonation Result
UID 62 marshal size 8
Detonation Result
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AIR_BURST
Air BurstAIR_HIT
Air hitARMOR_PIERCING_HIT
Armor-piercing hitBUILDING_HIT_LARGE
Building hit, largeBUILDING_HIT_MEDIUM
Building hit, mediumBUILDING_HIT_SMALL
Building hit, smallDETONATION
DetonationDIRT_BLAST_LARGE
Dirt blast, largeDIRT_BLAST_MEDIUM
Dirt blast, mediumDIRT_BLAST_SMALL
Dirt blast, smallENTITY_IMPACT
Entity ImpactENTITY_PROXIMATE_DETONATION
Entity Proximate DetonationENVIRONMENT_OBJECT_IMPACT
Environment object impactENVIRONMENT_OBJECT_PROXIMATE_DETONATION
Environment object proximate detonationGROUND_IMPACT
Ground ImpactGROUND_PROXIMATE_DETONATION
Ground Proximate DetonationHE_HIT_LARGE
HE hit, largeHE_HIT_MEDIUM
HE hit, mediumHE_HIT_SMALL
HE hit, smallKILL_WITH_FRAGMENT_TYPE_1
Kill with fragment type 1KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILURE
Kill with fragment type 1 after fly-out failureKILL_WITH_FRAGMENT_TYPE_2
Kill with fragment type 2KILL_WITH_FRAGMENT_TYPE_2_AFTER_FLY_OUT_FAILURE
Kill with fragment type 2 after fly-out failureKILL_WITH_FRAGMENT_TYPE_3
Kill with fragment type 3MINE_CLEARING_LINE_CHARGE
Mine-clearing line chargeMISS_DUE_TO_END_GAME_FAILURE
Miss due to end-game failureMISS_DUE_TO_FLY_OUT_AND_END_GAME_FAILURE
Miss due to fly-out and end-game failureMISS_DUE_TO_FLY_OUT_FAILURE
Miss due to fly-out failureNONE_OR_NO_DETONATION_DUD
None or No Detonation (Dud)OTHER
OtherWATER_BLAST_LARGE
Water blast, largeWATER_BLAST_MEDIUM
Water blast, mediumWATER_BLAST_SMALL
Water blast, smallWATER_IMPACT
Water Impact -
Method Summary
Modifier and Type Method Description java.lang.String
getDescription()
static int
getEnumBitWidth()
static DetonationResult
getEnumForValue(int i)
int
getMarshalledSize()
int
getValue()
void
marshal(java.io.DataOutputStream dos)
void
marshal(java.nio.ByteBuffer buff)
java.lang.String
toString()
static DetonationResult
unmarshalEnum(java.io.DataInputStream dis)
static DetonationResult
unmarshalEnum(java.nio.ByteBuffer buff)
static DetonationResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DetonationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
ENTITY_IMPACT
Entity Impact -
ENTITY_PROXIMATE_DETONATION
Entity Proximate Detonation -
GROUND_IMPACT
Ground Impact -
GROUND_PROXIMATE_DETONATION
Ground Proximate Detonation -
DETONATION
Detonation -
NONE_OR_NO_DETONATION_DUD
None or No Detonation (Dud) -
HE_HIT_SMALL
HE hit, small -
HE_HIT_MEDIUM
HE hit, medium -
HE_HIT_LARGE
HE hit, large -
ARMOR_PIERCING_HIT
Armor-piercing hit -
DIRT_BLAST_SMALL
Dirt blast, small -
DIRT_BLAST_MEDIUM
Dirt blast, medium -
DIRT_BLAST_LARGE
Dirt blast, large -
WATER_BLAST_SMALL
Water blast, small -
WATER_BLAST_MEDIUM
Water blast, medium -
WATER_BLAST_LARGE
Water blast, large -
AIR_HIT
Air hit -
BUILDING_HIT_SMALL
Building hit, small -
BUILDING_HIT_MEDIUM
Building hit, medium -
BUILDING_HIT_LARGE
Building hit, large -
MINE_CLEARING_LINE_CHARGE
Mine-clearing line charge -
ENVIRONMENT_OBJECT_IMPACT
Environment object impact -
ENVIRONMENT_OBJECT_PROXIMATE_DETONATION
Environment object proximate detonation -
WATER_IMPACT
Water Impact -
AIR_BURST
Air Burst -
KILL_WITH_FRAGMENT_TYPE_1
Kill with fragment type 1 -
KILL_WITH_FRAGMENT_TYPE_2
Kill with fragment type 2 -
KILL_WITH_FRAGMENT_TYPE_3
Kill with fragment type 3 -
KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILURE
Kill with fragment type 1 after fly-out failure -
KILL_WITH_FRAGMENT_TYPE_2_AFTER_FLY_OUT_FAILURE
Kill with fragment type 2 after fly-out failure -
MISS_DUE_TO_FLY_OUT_FAILURE
Miss due to fly-out failure -
MISS_DUE_TO_END_GAME_FAILURE
Miss due to end-game failure -
MISS_DUE_TO_FLY_OUT_AND_END_GAME_FAILURE
Miss due to fly-out and end-game failure
-
-
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) throws java.lang.Exception- Throws:
java.lang.Exception
-
unmarshalEnum
public static DetonationResult unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception- Throws:
java.lang.Exception
-
unmarshalEnum
- Throws:
java.lang.Exception
-
getMarshalledSize
public int getMarshalledSize() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Enum<DetonationResult>
-