java.lang.Object
java.lang.Enum<PlayStatus>
net.raphimc.viabedrock.protocol.data.enums.bedrock.generated.PlayStatus
All Implemented Interfaces:
Serializable, Comparable<PlayStatus>, Constable

public enum PlayStatus extends Enum<PlayStatus>
  • Enum Constant Details

    • LoginSuccess

      public static final PlayStatus LoginSuccess
    • LoginFailed_ClientOld

      public static final PlayStatus LoginFailed_ClientOld
    • LoginFailed_ServerOld

      public static final PlayStatus LoginFailed_ServerOld
    • PlayerSpawn

      public static final PlayStatus PlayerSpawn
    • LoginFailed_InvalidTenant

      public static final PlayStatus LoginFailed_InvalidTenant
    • LoginFailed_EditionMismatchEduToVanilla

      public static final PlayStatus LoginFailed_EditionMismatchEduToVanilla
    • LoginFailed_EditionMismatchVanillaToEdu

      public static final PlayStatus LoginFailed_EditionMismatchVanillaToEdu
    • LoginFailed_ServerFullSubClient

      public static final PlayStatus LoginFailed_ServerFullSubClient
    • LoginFailed_EditorMismatchEditorToVanilla

      public static final PlayStatus LoginFailed_EditorMismatchEditorToVanilla
    • LoginFailed_EditorMismatchVanillaToEditor

      public static final PlayStatus LoginFailed_EditorMismatchVanillaToEditor
  • Method Details

    • values

      public static PlayStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PlayStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByValue

      public static PlayStatus getByValue(int value)
    • getByValue

      public static PlayStatus getByValue(int value, PlayStatus fallback)
    • getByName

      public static PlayStatus getByName(String name)
    • getByName

      public static PlayStatus getByName(String name, PlayStatus fallback)
    • getValue

      public int getValue()