commonMain.ro.dragossusi.sevens.payload.game.PlayerTurnResponse.kt Maven / Gradle / Ivy
package ro.dragossusi.sevens.payload.game
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import ro.dragossusi.sevens.payload.Card
import ro.dragossusi.sevens.payload.base.GameTypeData
/**
* Payload
*
* Copyright (C) 2020 Rachieru Dragos-Mihai
*
* Payload is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* Payload is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Payload. If not, see [License](http://www.gnu.org/licenses/) .
*
*/
@Serializable
data class PlayerTurnResponse(
@SerialName("cards")
override val cards: List,
@SerialName("players")
val players: List,
@SerialName("starting_player_id")
val startingPlayerId: Long,
@SerialName("current_player_id")
val currentPlayerId: Long,
@SerialName("round_cards")
val roundCards: List
) : CardsContainer {
}