Sc2ApiSerializable<SC2APIProtocol.Debug.DebugEndGame.EndResult>, java.io.Serializable, java.lang.Comparable<DebugEndGame.EndResult>public static enum DebugEndGame.EndResult extends java.lang.Enum<DebugEndGame.EndResult> implements Sc2ApiSerializable<SC2APIProtocol.Debug.DebugEndGame.EndResult>
| Enum Constant | Description |
|---|---|
DECLARE_VICTORY |
|
SURRENDER |
| Modifier and Type | Method | Description |
|---|---|---|
SC2APIProtocol.Debug.DebugEndGame.EndResult |
toSc2Api() |
|
static DebugEndGame.EndResult |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DebugEndGame.EndResult[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DebugEndGame.EndResult SURRENDER
public static final DebugEndGame.EndResult DECLARE_VICTORY
public static DebugEndGame.EndResult[] values()
for (DebugEndGame.EndResult c : DebugEndGame.EndResult.values()) System.out.println(c);
public static DebugEndGame.EndResult 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 SC2APIProtocol.Debug.DebugEndGame.EndResult toSc2Api()
toSc2Api in interface Sc2ApiSerializable<SC2APIProtocol.Debug.DebugEndGame.EndResult>Copyright © 2017–2018 Ocraft Project. All rights reserved.