public enum DetonationResult extends java.lang.Enum<DetonationResult>
Enum Constant and Description |
---|
AIR_BURST
Air Burst
|
AIR_HIT
Air hit
|
ARMOR_PIERCING_HIT
Armor-piercing hit
|
BUILDING_HIT_LARGE
Building hit, large
|
BUILDING_HIT_MEDIUM
Building hit, medium
|
BUILDING_HIT_SMALL
Building hit, small
|
DETONATION
Detonation
|
DIRT_BLAST_LARGE
Dirt blast, large
|
DIRT_BLAST_MEDIUM
Dirt blast, medium
|
DIRT_BLAST_SMALL
Dirt blast, small
|
ENTITY_IMPACT
Entity Impact
|
ENTITY_PROXIMATE_DETONATION
Entity Proximate Detonation
|
ENVIRONMENT_OBJECT_IMPACT
Environment object impact
|
ENVIRONMENT_OBJECT_PROXIMATE_DETONATION
Environment object proximate detonation
|
GROUND_IMPACT
Ground Impact
|
GROUND_PROXIMATE_DETONATION
Ground Proximate Detonation
|
HE_HIT_LARGE
HE hit, large
|
HE_HIT_MEDIUM
HE hit, medium
|
HE_HIT_SMALL
HE hit, small
|
KILL_WITH_FRAGMENT_TYPE_1
Kill with fragment type 1
|
KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILURE
Kill with fragment type 1 after fly-out failure
|
KILL_WITH_FRAGMENT_TYPE_2
Kill with fragment type 2
|
KILL_WITH_FRAGMENT_TYPE_2_AFTER_FLY_OUT_FAILURE
Kill with fragment type 2 after fly-out failure
|
KILL_WITH_FRAGMENT_TYPE_3
Kill with fragment type 3
|
MINE_CLEARING_LINE_CHARGE
Mine-clearing line charge
|
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
|
MISS_DUE_TO_FLY_OUT_FAILURE
Miss due to fly-out failure
|
NONE_OR_NO_DETONATION_DUD
None or No Detonation (Dud)
|
OTHER
Other
|
WATER_BLAST_LARGE
Water blast, large
|
WATER_BLAST_MEDIUM
Water blast, medium
|
WATER_BLAST_SMALL
Water blast, small
|
WATER_IMPACT
Water Impact
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static DetonationResult |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static DetonationResult |
unmarshalEnum(java.nio.ByteBuffer buff) |
static DetonationResult |
unmarshalEnum(java.io.DataInputStream dis) |
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.
|
public static final DetonationResult OTHER
public static final DetonationResult ENTITY_IMPACT
public static final DetonationResult ENTITY_PROXIMATE_DETONATION
public static final DetonationResult GROUND_IMPACT
public static final DetonationResult GROUND_PROXIMATE_DETONATION
public static final DetonationResult DETONATION
public static final DetonationResult NONE_OR_NO_DETONATION_DUD
public static final DetonationResult HE_HIT_SMALL
public static final DetonationResult HE_HIT_MEDIUM
public static final DetonationResult HE_HIT_LARGE
public static final DetonationResult ARMOR_PIERCING_HIT
public static final DetonationResult DIRT_BLAST_SMALL
public static final DetonationResult DIRT_BLAST_MEDIUM
public static final DetonationResult DIRT_BLAST_LARGE
public static final DetonationResult WATER_BLAST_SMALL
public static final DetonationResult WATER_BLAST_MEDIUM
public static final DetonationResult WATER_BLAST_LARGE
public static final DetonationResult AIR_HIT
public static final DetonationResult BUILDING_HIT_SMALL
public static final DetonationResult BUILDING_HIT_MEDIUM
public static final DetonationResult BUILDING_HIT_LARGE
public static final DetonationResult MINE_CLEARING_LINE_CHARGE
public static final DetonationResult ENVIRONMENT_OBJECT_IMPACT
public static final DetonationResult ENVIRONMENT_OBJECT_PROXIMATE_DETONATION
public static final DetonationResult WATER_IMPACT
public static final DetonationResult AIR_BURST
public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_1
public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_2
public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_3
public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_1_AFTER_FLY_OUT_FAILURE
public static final DetonationResult KILL_WITH_FRAGMENT_TYPE_2_AFTER_FLY_OUT_FAILURE
public static final DetonationResult MISS_DUE_TO_FLY_OUT_FAILURE
public static final DetonationResult MISS_DUE_TO_END_GAME_FAILURE
public static final DetonationResult MISS_DUE_TO_FLY_OUT_AND_END_GAME_FAILURE
public static DetonationResult[] values()
for (DetonationResult c : DetonationResult.values()) System.out.println(c);
public static DetonationResult 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 DetonationResult 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 DetonationResult unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static DetonationResult unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()