create notifications for reply the players implement notifications on GameEventPlayerNotificationListener add priority to the eventbus.subscribe() improve JWT creation update libs koin + ktor remove output of GameCommandStream improve logs create a function disableShuffleDeck to disable the shuffle of the deck (for tests)
16 lines
420 B
Kotlin
16 lines
420 B
Kotlin
package eventDemo.app.notification
|
|
|
|
import eventDemo.app.entity.Card
|
|
import eventDemo.app.entity.Player
|
|
import eventDemo.shared.UUIDSerializer
|
|
import kotlinx.serialization.Serializable
|
|
import java.util.UUID
|
|
|
|
@Serializable
|
|
data class PlayerAsPlayACardNotification(
|
|
@Serializable(with = UUIDSerializer::class)
|
|
override val id: UUID = UUID.randomUUID(),
|
|
val player: Player,
|
|
val card: Card,
|
|
) : Notification
|