Class GameSessionUpdateMessage


  • public final class GameSessionUpdateMessage
    extends AbstractMessage
    Message send to the client to inform incrementally about any change related to the game session.
    • Constructor Detail

      • GameSessionUpdateMessage

        public GameSessionUpdateMessage()
    • Method Detail

      • getState

        public String getState()
      • setState

        public void setState​(String state)
      • getGameSessionId

        public UUID getGameSessionId()
      • setGameSessionId

        public void setGameSessionId​(UUID gameSessionId)
      • getShipByPlayer

        public Map<UUID,​UUID> getShipByPlayer()
      • setShipByPlayer

        public void setShipByPlayer​(Map<UUID,​UUID> shipByPlayer)
      • getRemovedCompositeEntities

        public List<UUID> getRemovedCompositeEntities()
      • setRemovedCompositeEntities

        public void setRemovedCompositeEntities​(List<UUID> removedCompositeEntities)
      • getTurn

        public Integer getTurn()
      • setTurn

        public void setTurn​(Integer turn)
      • getNextTurnInMsLow

        public Integer getNextTurnInMsLow()
      • setNextTurnInMsLow

        public void setNextTurnInMsLow​(Integer nextTurnInMsLow)
      • getNextTurnInMsHigh

        public Integer getNextTurnInMsHigh()
      • setNextTurnInMsHigh

        public void setNextTurnInMsHigh​(Integer nextTurnInMsHigh)
      • getTurnIntervalLow

        public Integer getTurnIntervalLow()
      • setTurnIntervalLow

        public void setTurnIntervalLow​(Integer turnIntervalLow)
      • getTurnIntervalHigh

        public Integer getTurnIntervalHigh()
      • setTurnIntervalHigh

        public void setTurnIntervalHigh​(Integer turnIntervalHigh)
      • getPlayerReadyState

        public Map<UUID,​Boolean> getPlayerReadyState()
      • setPlayerReadyState

        public void setPlayerReadyState​(Map<UUID,​Boolean> playerReadyState)
      • getViewPort

        public Area2 getViewPort()
      • setViewPort

        public void setViewPort​(Area2 viewPort)
      • getCrewControl

        public Map<UUID,​UUID> getCrewControl()
      • setCrewControl

        public void setCrewControl​(Map<UUID,​UUID> crewControl)
      • getEditorMode

        public Boolean getEditorMode()
      • setEditorMode

        public void setEditorMode​(Boolean editorMode)
      • getGameModeName

        public String getGameModeName()
      • setGameModeName

        public void setGameModeName​(String gameModeName)
      • getPlayerIngameState

        public Map<UUID,​Boolean> getPlayerIngameState()
      • setPlayerIngameState

        public void setPlayerIngameState​(Map<UUID,​Boolean> playerIngameState)
      • getQuickJoinCode

        public String getQuickJoinCode()
      • setQuickJoinCode

        public void setQuickJoinCode​(String quickJoinCode)
      • setGameModeOptions

        public void setGameModeOptions​(Map<String,​Object> gameModeOptions)
      • isDedicatedServer

        public boolean isDedicatedServer()
      • setDedicatedServer

        public void setDedicatedServer​(boolean dedicatedServer)
      • getPassword

        public String getPassword()
      • setPassword

        public void setPassword​(String password)
      • getGameRunMode

        public String getGameRunMode()
      • setGameRunMode

        public void setGameRunMode​(String gameRunMode)
      • getPausable

        public Boolean getPausable()
      • setPausable

        public void setPausable​(Boolean pausable)