Enum Constant | Description |
---|---|
NUCLEAR_LAUNCH_DETECTED |
|
NYDUS_WORM_DETECTED |
Modifier and Type | Method | Description |
---|---|---|
static Alert |
from(SC2APIProtocol.Sc2Api.Alert sc2ApiAlert) |
|
static Alert |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Alert[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Alert NUCLEAR_LAUNCH_DETECTED
public static final Alert NYDUS_WORM_DETECTED
public static Alert[] values()
for (Alert c : Alert.values()) System.out.println(c);
public static Alert 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 static Alert from(SC2APIProtocol.Sc2Api.Alert sc2ApiAlert)
Copyright © 2017–2018 Ocraft Project. All rights reserved.