Class InternalGameSessionControlMessage
- java.lang.Object
-
- de.extio.spacecraft.shared.model.message.AbstractMessage
-
- de.extio.spacecraft.shared.model.message.server_internal.InternalMessage
-
- de.extio.spacecraft.shared.model.message.server_internal.InternalGameSessionControlMessage
-
public final class InternalGameSessionControlMessage extends InternalMessage
Controls the game session. Contains most restricted actions that cannot be executed remotely but only internally on the game server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InternalGameSessionControlMessage.SpawnShipAtSlotInfo
-
Constructor Summary
Constructors Constructor Description InternalGameSessionControlMessage()
-
Method Summary
-
Methods inherited from class de.extio.spacecraft.shared.model.message.AbstractMessage
toString
-
-
-
-
Method Detail
-
setShipSlotForceJoinPlayer
public void setShipSlotForceJoinPlayer(Map<UUID,Integer> shipSlotForceJoinPlayer)
- Parameters:
shipSlotForceJoinPlayer
- Player (session) id : ship slot index
-
setShipSlotForceJoinGame
public void setShipSlotForceJoinGame(List<Integer> shipSlotForceJoinGame)
- Parameters:
shipSlotForceJoinGame
- ship slot index
-
getChangeGameMode
public String getChangeGameMode()
-
setChangeGameMode
public void setChangeGameMode(String changeGameMode)
-
getShipSlotAssignShips
public List<org.apache.commons.lang3.tuple.Pair<UUID,Integer>> getShipSlotAssignShips()
-
setShipSlotAssignShips
public void setShipSlotAssignShips(List<org.apache.commons.lang3.tuple.Pair<UUID,Integer>> shipSlotAssignShips)
- Parameters:
shipSlotAssignShips
- Spacecraft composite entity id : ship slot index
-
setForceJoinPlayerAtInitialSlot
public void setForceJoinPlayerAtInitialSlot(List<UUID> forceJoinPlayerAtInitialSlot)
-
setShipSlotForcePlayerRemove
public void setShipSlotForcePlayerRemove(List<UUID> shipSlotForcePlayerRemove)
-
getSpawnShipAtSlot
public InternalGameSessionControlMessage.SpawnShipAtSlotInfo getSpawnShipAtSlot()
-
setSpawnShipAtSlot
public void setSpawnShipAtSlot(InternalGameSessionControlMessage.SpawnShipAtSlotInfo spawnShipAtSlot)
-
getRecreateShipSlots
public Boolean getRecreateShipSlots()
-
setRecreateShipSlots
public void setRecreateShipSlots(Boolean recreateShipSlots)
-
getRecreateShipSlotsWithShipTemplate
public CompositeEntityDefinitionMessage getRecreateShipSlotsWithShipTemplate()
-
setRecreateShipSlotsWithShipTemplate
public void setRecreateShipSlotsWithShipTemplate(CompositeEntityDefinitionMessage recreateShipSlotsWithShipTemplate)
-
-