Class Messages.lobbyIdMessage

java.lang.Object
tech.underoaks.coldcase.remote.Messages.lobbyIdMessage
Enclosing class:
Messages

public static class Messages.lobbyIdMessage extends Object
Message containing a lobby identifier. Used to associate a user with a specific game lobby.
  • Constructor Details

    • lobbyIdMessage

      public lobbyIdMessage(String lobbyId)
      Constructs a lobbyIdMessage with the specified lobby identifier.
      Parameters:
      lobbyId - the identifier of the lobby
    • lobbyIdMessage

      public lobbyIdMessage()
      Constructs an empty lobbyIdMessage.
  • Method Details

    • getLobbyId

      public String getLobbyId()
      Returns the lobby identifier.
      Returns:
      the lobby identifier as a String
    • setLobbyId

      public void setLobbyId(String lobbyId)
      Sets the lobby identifier.
      Parameters:
      lobbyId - the lobby identifier to set