Package in.dragonbra.javasteam.enums
Enum EPersonaStateFlag
- java.lang.Object
-
- java.lang.Enum<EPersonaStateFlag>
-
- in.dragonbra.javasteam.enums.EPersonaStateFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EPersonaStateFlag>
public enum EPersonaStateFlag extends java.lang.Enum<EPersonaStateFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClientTypeMobileClientTypeTenfootClientTypeVRClientTypeWebGoldenHasRichPresenceInJoinableGameLaunchTypeCompatToolLaunchTypeGamepadRemotePlayTogether
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()static intcode(java.util.EnumSet<EPersonaStateFlag> flags)static java.util.EnumSet<EPersonaStateFlag>from(int code)static EPersonaStateFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EPersonaStateFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HasRichPresence
public static final EPersonaStateFlag HasRichPresence
-
InJoinableGame
public static final EPersonaStateFlag InJoinableGame
-
Golden
public static final EPersonaStateFlag Golden
-
RemotePlayTogether
public static final EPersonaStateFlag RemotePlayTogether
-
ClientTypeWeb
public static final EPersonaStateFlag ClientTypeWeb
-
ClientTypeMobile
public static final EPersonaStateFlag ClientTypeMobile
-
ClientTypeTenfoot
public static final EPersonaStateFlag ClientTypeTenfoot
-
ClientTypeVR
public static final EPersonaStateFlag ClientTypeVR
-
LaunchTypeGamepad
public static final EPersonaStateFlag LaunchTypeGamepad
-
LaunchTypeCompatTool
public static final EPersonaStateFlag LaunchTypeCompatTool
-
-
Method Detail
-
values
public static EPersonaStateFlag[] 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 (EPersonaStateFlag c : EPersonaStateFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EPersonaStateFlag 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 java.util.EnumSet<EPersonaStateFlag> from(int code)
-
code
public static int code(java.util.EnumSet<EPersonaStateFlag> flags)
-
-