Class GameSession
- java.lang.Object
-
- de.extio.spacecraft.shared.model.client.game.GameSession
-
public final class GameSession extends Object
-
-
Constructor Summary
Constructors Constructor Description GameSession()
-
Method Summary
-
-
-
Method Detail
-
getGameSessionId
public UUID getGameSessionId()
-
setGameSessionId
public void setGameSessionId(UUID gameSessionId)
-
getState
public GameSessionState getState()
-
setState
public void setState(GameSessionState state)
-
getHost
public UUID getHost()
-
setHost
public void setHost(UUID host)
-
getTurn
public int getTurn()
-
setTurn
public void setTurn(int turn)
-
getNextTurnAtLow
public long getNextTurnAtLow()
-
setNextTurnAtLow
public void setNextTurnAtLow(long nextTurnAtLow)
-
getNextTurnAtHigh
public long getNextTurnAtHigh()
-
setNextTurnAtHigh
public void setNextTurnAtHigh(long nextTurnAtHigh)
-
getTurnIntervalLow
public int getTurnIntervalLow()
-
setTurnIntervalLow
public void setTurnIntervalLow(int turnIntervalLow)
-
getTurnIntervalHigh
public int getTurnIntervalHigh()
-
setTurnIntervalHigh
public void setTurnIntervalHigh(int turnIntervalHigh)
-
getViewportSubscription
public Area2 getViewportSubscription()
-
setViewportSubscription
public void setViewportSubscription(Area2 viewportSubscription)
-
isNextTurn
public boolean isNextTurn()
-
setNextTurn
public void setNextTurn(boolean nextTurn)
-
getPrevTurn
public int getPrevTurn()
-
setPrevTurn
public void setPrevTurn(int prevTurn)
-
getEditorMode
public Boolean getEditorMode()
-
setEditorMode
public void setEditorMode(Boolean editorMode)
-
getGameModeName
public String getGameModeName()
-
setGameModeName
public void setGameModeName(String gameModeName)
-
getShipSlots
public List<GameSessionShipSlot> getShipSlots()
-
setShipSlots
public void setShipSlots(List<GameSessionShipSlot> shipSlots)
-
getQuickJoinCode
public String getQuickJoinCode()
-
setQuickJoinCode
public void setQuickJoinCode(String quickJoinCode)
-
isServerPublishingTcp
public boolean isServerPublishingTcp()
-
setServerPublishingTcp
public void setServerPublishingTcp(boolean serverPublishingTcp)
-
isServerPublishingQuickJoinCode
public boolean isServerPublishingQuickJoinCode()
-
setServerPublishingQuickJoinCode
public void setServerPublishingQuickJoinCode(boolean serverPublishingQuickJoinCode)
-
isServerPublishingPublicListed
public boolean isServerPublishingPublicListed()
-
setServerPublishingPublicListed
public void setServerPublishingPublicListed(boolean serverPublishingPublicListed)
-
getGameSessionUpdateCompositeEntitiesMessages
public List<GameSessionUpdateCompositeMessage> getGameSessionUpdateCompositeEntitiesMessages()
-
getGameSessionUpdateCompositesPositionMessages
public List<GameSessionUpdateCompositesPositionMessage> getGameSessionUpdateCompositesPositionMessages()
-
getGameActionMessages
public List<GameActionMessages> getGameActionMessages()
-
isDedicatedServer
public boolean isDedicatedServer()
-
setDedicatedServer
public void setDedicatedServer(boolean dedicatedServer)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
getGameRunMode
public GameRunMode getGameRunMode()
-
setGameRunMode
public void setGameRunMode(GameRunMode gameRunMode)
-
getGameTimePrevDuration
public Duration getGameTimePrevDuration()
-
setGameTimePrevDuration
public void setGameTimePrevDuration(Duration gameTimePrevDuration)
-
getGameTimeCurBegin
public LocalDateTime getGameTimeCurBegin()
-
setGameTimeCurBegin
public void setGameTimeCurBegin(LocalDateTime gameTimeCurBegin)
-
getReconnectTicket
public UUID getReconnectTicket()
-
setReconnectTicket
public void setReconnectTicket(UUID reconnectTicket)
-
isPausable
public boolean isPausable()
-
setPausable
public void setPausable(boolean pausable)
-
isPaused
public boolean isPaused()
-
setPaused
public void setPaused(boolean paused)
-
-