Package in.dragonbra.javasteam.enums
Enum EDenyReason
- java.lang.Object
-
- java.lang.Enum<EDenyReason>
-
- in.dragonbra.javasteam.enums.EDenyReason
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EDenyReason>
public enum EDenyReason extends java.lang.Enum<EDenyReason>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static EDenyReasonfrom(int code)static EDenyReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EDenyReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InvalidVersion
public static final EDenyReason InvalidVersion
-
Generic
public static final EDenyReason Generic
-
NotLoggedOn
public static final EDenyReason NotLoggedOn
-
NoLicense
public static final EDenyReason NoLicense
-
Cheater
public static final EDenyReason Cheater
-
LoggedInElseWhere
public static final EDenyReason LoggedInElseWhere
-
UnknownText
public static final EDenyReason UnknownText
-
IncompatibleAnticheat
public static final EDenyReason IncompatibleAnticheat
-
MemoryCorruption
public static final EDenyReason MemoryCorruption
-
IncompatibleSoftware
public static final EDenyReason IncompatibleSoftware
-
SteamConnectionLost
public static final EDenyReason SteamConnectionLost
-
SteamConnectionError
public static final EDenyReason SteamConnectionError
-
SteamResponseTimedOut
public static final EDenyReason SteamResponseTimedOut
-
SteamValidationStalled
public static final EDenyReason SteamValidationStalled
-
SteamOwnerLeftGuestUser
public static final EDenyReason SteamOwnerLeftGuestUser
-
-
Method Detail
-
values
public static EDenyReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EDenyReason c : EDenyReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDenyReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
code
public int code()
-
from
public static EDenyReason from(int code)
-
-