commonMain.ro.dragossusi.sevens.payload.game.player.RoomPlayerResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of payload-jvm Show documentation
Show all versions of payload-jvm Show documentation
Payload data used in sevens
The newest version!
package ro.dragossusi.sevens.payload.game.player
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import ro.dragossusi.sevens.payload.Player
import ro.dragossusi.sevens.payload.base.UserData
@Serializable
data class RoomPlayerResponse constructor(
@SerialName("player")
val player: Player,
@SerialName("data")
val data: T
) : UserData by player