de.kevcodez.pubg.model.match.Roster.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubg-api-wrapper Show documentation
Show all versions of pubg-api-wrapper Show documentation
Playerunknowns Battlegrounds API wrapper written in Kotlin. Requires Java 1.8+
package de.kevcodez.pubg.model.match
import de.kevcodez.pubg.model.Relationships
class Roster : MatchObject() {
lateinit var id: String
lateinit var relationships: Relationships
lateinit var attributes: RosterAttributes
}
data class RosterAttributes(
val stats: RosterStats,
val shardId: String,
val won: Boolean
)
data class RosterStats(
val rank: Int,
val teamId: Int
)