public class PauseGameRequest implements AdminLobbyRequest
Request by administrative client to pause or unpause a game specified by given roomId.
A game will only be paused immediately if there is no pending MoveRequest, otherwise the game will be paused next turn.
When the game is paused no GameState or MoveRequest will be sent to the players (and all other observers) until an AdminClient sends a StepRequest or resumes the game.
public PauseGameRequest(@NotNull java.lang.String roomId, boolean pause)
Request by administrative client to pause or unpause a game specified by given roomId.
A game will only be paused immediately if there is no pending MoveRequest, otherwise the game will be paused next turn.
When the game is paused no GameState or MoveRequest will be sent to the players (and all other observers) until an AdminClient sends a StepRequest or resumes the game.
@NotNull public java.lang.String getRoomId()
public boolean getPause()
@NotNull public java.lang.String component1()
public boolean component2()
@NotNull public PauseGameRequest copy(@NotNull java.lang.String roomId, boolean pause)
Request by administrative client to pause or unpause a game specified by given roomId.
A game will only be paused immediately if there is no pending MoveRequest, otherwise the game will be paused next turn.
When the game is paused no GameState or MoveRequest will be sent to the players (and all other observers) until an AdminClient sends a StepRequest or resumes the game.
@NotNull public java.lang.String toString()
Request by administrative client to pause or unpause a game specified by given roomId.
A game will only be paused immediately if there is no pending MoveRequest, otherwise the game will be paused next turn.
When the game is paused no GameState or MoveRequest will be sent to the players (and all other observers) until an AdminClient sends a StepRequest or resumes the game.
public int hashCode()
Request by administrative client to pause or unpause a game specified by given roomId.
A game will only be paused immediately if there is no pending MoveRequest, otherwise the game will be paused next turn.
When the game is paused no GameState or MoveRequest will be sent to the players (and all other observers) until an AdminClient sends a StepRequest or resumes the game.
public boolean equals(@Nullable java.lang.Object p)
Request by administrative client to pause or unpause a game specified by given roomId.
A game will only be paused immediately if there is no pending MoveRequest, otherwise the game will be paused next turn.
When the game is paused no GameState or MoveRequest will be sent to the players (and all other observers) until an AdminClient sends a StepRequest or resumes the game.