public enum EventType extends Enum<EventType>
Enum Constant and Description |
---|
MatchEnd |
MatchFrame |
MatchStart |
MenuFrame |
None |
NukeDetect |
PlayerLeft |
ReceiveText |
SaveGame |
SendText |
UnitComplete |
UnitCreate |
UnitDestroy |
UnitDiscover |
UnitEvade |
UnitHide |
UnitMorph |
UnitRenegade |
UnitShow |
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType MatchStart
public static final EventType MatchEnd
public static final EventType MatchFrame
public static final EventType MenuFrame
public static final EventType SendText
public static final EventType ReceiveText
public static final EventType PlayerLeft
public static final EventType NukeDetect
public static final EventType UnitDiscover
public static final EventType UnitEvade
public static final EventType UnitShow
public static final EventType UnitHide
public static final EventType UnitCreate
public static final EventType UnitDestroy
public static final EventType UnitMorph
public static final EventType UnitRenegade
public static final EventType SaveGame
public static final EventType UnitComplete
public static final EventType None
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.