summaryrefslogtreecommitdiff
path: root/sw-client
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@booking.com>2020-03-28 23:00:18 +0100
committerJoffrey Bion <joffrey.bion@booking.com>2020-03-28 23:51:52 +0100
commit78aff48d30f7943a720c2d0714d5fe304685c29b (patch)
tree1a76e943fe8223ef53bb08e05795420db28d8d80 /sw-client
parentImprove blueprint helpers (diff)
downloadseven-wonders-78aff48d30f7943a720c2d0714d5fe304685c29b.tar.gz
seven-wonders-78aff48d30f7943a720c2d0714d5fe304685c29b.tar.bz2
seven-wonders-78aff48d30f7943a720c2d0714d5fe304685c29b.zip
Improve state updates for turn info
Diffstat (limited to 'sw-client')
-rw-r--r--sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt
index 84176e03..d95c32f5 100644
--- a/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt
+++ b/sw-client/src/commonMain/kotlin/org/luxons/sevenwonders/client/SevenWondersClient.kt
@@ -113,9 +113,6 @@ class SevenWondersSession(private val stompSession: StompSessionWithKxSerializat
suspend fun watchPlayerReady(gameId: Long): StompSubscription<String> =
stompSession.subscribe("/topic/game/$gameId/playerReady", String.serializer())
- suspend fun watchTableUpdates(gameId: Long): StompSubscription<GameState> =
- stompSession.subscribe("/topic/game/$gameId/tableUpdates", GameState.serializer())
-
suspend fun watchPreparedCards(gameId: Long): StompSubscription<PreparedCard> =
stompSession.subscribe("/topic/game/$gameId/prepared", PreparedCard.serializer())
bgstack15