All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.kevcodez.pubg.model.match.Participant.kt Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
package de.kevcodez.pubg.model.match

import com.fasterxml.jackson.annotation.JsonIgnoreProperties

open class Participant : MatchObject() {
    var id: String = ""
    var actor: String = ""
    var shardId: String = ""
    lateinit var attributes: ParticipantAttributes
}

@JsonIgnoreProperties(ignoreUnknown = true)
data class ParticipantAttributes(
    val stats: ParticipantStats,
    val actor: String,
    val shardId: String
)

@JsonIgnoreProperties(ignoreUnknown = true)
data class ParticipantStats(
    val DBNOs: Int,
    val assists: Int,
    val boosts: Int,
    val damageDealt: Double,
    val deathType: String?,
    val headshotKills: Int,
    val heals: Int,
    val killPlace: Int,
    val killPoints: Int,
    val killPointsDelta: Int,
    val killStreaks: Int,
    val kills: Int,
    val lastKillPoints: Int,
    val lastWinPoints: Int,
    val longestKill: Double,
    val mostDamage: Int,
    val name: String?,
    val playerId: String,
    val revives: Int,
    val rideDistance: Double,
    val roadKills: Int,
    val teamKills: Int,
    val timeSurvived: Double,
    val vehicleDestroys: Int,
    val walkDistance: Double,
    val weaponsAcquired: Int,
    val winPlace: Int,
    val winPoints: Int,
    val winPointsDelta: Double,
    val swimDistance: Double
)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy