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)
18 lines
412 B
Kotlin
18 lines
412 B
Kotlin
package eventDemo.app.entity
|
|
|
|
import eventDemo.libs.event.AggregateId
|
|
import eventDemo.shared.GameIdSerializer
|
|
import kotlinx.serialization.Serializable
|
|
import java.util.UUID
|
|
|
|
/**
|
|
* An [AggregateId] for a game.
|
|
*/
|
|
@JvmInline
|
|
@Serializable(with = GameIdSerializer::class)
|
|
value class GameId(
|
|
override val id: UUID = UUID.randomUUID(),
|
|
) : AggregateId {
|
|
override fun toString(): String = id.toString()
|
|
}
|