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_BURSTAir BurstAIR_HITAir hitARMOR_PIERCING_HITArmor-piercing hitBUILDING_HIT_LARGEBuilding hit, largeBUILDING_HIT_MEDIUMBuilding hit, mediumBUILDING_HIT_SMALLBuilding hit, smallDETONATIONDetonationDIRT_BLAST_LARGEDirt blast, largeDIRT_BLAST_MEDIUMDirt blast, mediumDIRT_BLAST_SMALLDirt blast, smallENTITY_IMPACTEntity ImpactENTITY_PROXIMATE_DETONATIONEntity Proximate DetonationENVIRONMENT_OBJECT_IMPACTEnvironment object impactENVIRONMENT_OBJECT_PROXIMATE_DETONATIONEnvironment object proximate detonationGROUND_IMPACTGround ImpactGROUND_PROXIMATE_DETONATIONGround Proximate DetonationHE_HIT_LARGEHE hit, largeHE_HIT_MEDIUMHE hit, mediumHE_HIT_SMALLHE hit, smallKILL_WITH_FRAGMENT_TYPE_1Kill with fragment type 1KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILUREKill with fragment type 1 after fly-out failureKILL_WITH_FRAGMENT_TYPE_2Kill with fragment type 2KILL_WITH_FRAGMENT_TYPE_2_AFTER_FLY_OUT_FAILUREKill with fragment type 2 after fly-out failureKILL_WITH_FRAGMENT_TYPE_3Kill with fragment type 3MINE_CLEARING_LINE_CHARGEMine-clearing line chargeMISS_DUE_TO_END_GAME_FAILUREMiss due to end-game failureMISS_DUE_TO_FLY_OUT_AND_END_GAME_FAILUREMiss due to fly-out and end-game failureMISS_DUE_TO_FLY_OUT_FAILUREMiss due to fly-out failureNONE_OR_NO_DETONATION_DUDNone or No Detonation (Dud)OTHEROtherWATER_BLAST_LARGEWater blast, largeWATER_BLAST_MEDIUMWater blast, mediumWATER_BLAST_SMALLWater blast, smallWATER_IMPACTWater Impact -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()static intgetEnumBitWidth()static DetonationResultgetEnumForValue(int i)intgetMarshalledSize()intgetValue()voidmarshal(java.io.DataOutputStream dos)voidmarshal(java.nio.ByteBuffer buff)java.lang.StringtoString()static DetonationResultunmarshalEnum(java.io.DataInputStream dis)static DetonationResultunmarshalEnum(java.nio.ByteBuffer buff)static DetonationResultvalueOf(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:
toStringin classjava.lang.Enum<DetonationResult>
-