diff options
author | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-28 23:00:18 +0100 |
---|---|---|
committer | Joffrey Bion <joffrey.bion@booking.com> | 2020-03-28 23:51:52 +0100 |
commit | 78aff48d30f7943a720c2d0714d5fe304685c29b (patch) | |
tree | 1a76e943fe8223ef53bb08e05795420db28d8d80 /sw-client | |
parent | Improve blueprint helpers (diff) | |
download | seven-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.kt | 3 |
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()) |