Class ConnectLobbyRequest

All Implemented Interfaces:
ClientEvent, Serializable

public class ConnectLobbyRequest extends ClientRequest
Represents a Client triying to connect to a Lobby
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • code

      private final UUID code
  • Constructor Details

    • ConnectLobbyRequest

      public ConnectLobbyRequest(UUID code)
      Create the request to connect to a lobby.
      Parameters:
      code - the UUID of the lobby the client wishes to connect to.
  • Method Details

    • getCode

      public UUID getCode()
      Get the code of the lobby
      Returns:
      the Lobby's UUID the client wishes to connect to