public enum Latency extends Enum<Latency>
Game.getLatency()
Enum Constant and Description |
---|
BattlenetHigh |
BattlenetLow |
BattlenetMedium |
LanHigh |
LanLow |
LanMedium |
SinglePlayer |
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static Latency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Latency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Latency SinglePlayer
public static final Latency LanLow
public static final Latency LanMedium
public static final Latency LanHigh
public static final Latency BattlenetLow
public static final Latency BattlenetMedium
public static final Latency BattlenetHigh
public static Latency[] values()
for (Latency c : Latency.values()) System.out.println(c);
public static Latency 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.