-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
230 additions
and
11 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/Assists.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class Assists( | ||
val assists: Int? = null, | ||
val defensiveAssists: Int? = null, | ||
val healingDone: Int? = null, | ||
val offensiveAssists: Int? = null, | ||
val reconAssists: Int? = null | ||
) |
18 changes: 18 additions & 0 deletions
18
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/Average.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class Average( | ||
val assistsAvgPer10Min: Float? = null, | ||
val deathsAvgPer10Min: Float? = null, | ||
val eliminationsAvgPer10Min: Float? = null, | ||
val finalBlowsAvgPer10Min: Float? = null, | ||
val healingDoneAvgPer10Min: Float? = null, | ||
val heroDamageDoneAvgPer10Min: Float? = null, | ||
val objectiveContestTimeAvgPer10Min: String? = null, | ||
val objectiveKillsAvgPer10Min: Float? = null, | ||
val objectiveTimeAvgPer10Min: String? = null, | ||
val soloKillsAvgPer10Min: Float? = null, | ||
val timeSpentOnFireAvgPer10Min: String? = null | ||
) |
26 changes: 26 additions & 0 deletions
26
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/Best.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class Best( | ||
val allDamageDoneMostInGame: Int? = null, | ||
val assistsMostInGame: Int? = null, | ||
val barrierDamageDoneMostInGame: Int? = null, | ||
val defensiveAssistsMostInGame: Int? = null, | ||
val eliminationsMostInGame: Int? = null, | ||
val environmentalKillsMostInGame: Int? = null, | ||
val finalBlowsMostInGame: Int? = null, | ||
val healingDoneMostInGame: Int? = null, | ||
val heroDamageDoneMostInGame: Int? = null, | ||
val killsStreakBest: Int? = null, | ||
val meleeFinalBlowsMostInGame: Int? = null, | ||
val multikillsBest: Int? = null, | ||
val objectiveContestTimeMostInGame: String? = null, | ||
val objectiveKillsMostInGame: Int? = null, | ||
val objectiveTimeMostInGame: String? = null, | ||
val offensiveAssistsMostInGame: Int? = null, | ||
val reconAssistsMostInGame: Int? = null, | ||
val soloKillsMostInGame: Int? = null, | ||
val timeSpentOnFireMostInGame: String? = null | ||
) |
15 changes: 15 additions & 0 deletions
15
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/CareerHeroStats.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
import kotlinx.serialization.json.JsonElement | ||
|
||
@Serializable | ||
public data class CareerHeroStats( | ||
val assists: Assists? = null, | ||
val average: Average, | ||
val best: Best, | ||
val combat: Combat, | ||
val heroSpecific: JsonElement?, | ||
val game: Game, | ||
val matchAwards: JsonElement? | ||
) |
44 changes: 44 additions & 0 deletions
44
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/CareerHeroes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class CareerHeroes( | ||
val allHeroes: CareerHeroStats, | ||
val ana: CareerHeroStats, | ||
val ashe: CareerHeroStats, | ||
val baptiste: CareerHeroStats, | ||
val bastion: CareerHeroStats, | ||
val brigitte: CareerHeroStats, | ||
val cassidy: CareerHeroStats, | ||
val dVa: CareerHeroStats, | ||
val doomfist: CareerHeroStats, | ||
val echo: CareerHeroStats, | ||
val genji: CareerHeroStats, | ||
val hanzo: CareerHeroStats, | ||
val illari: CareerHeroStats, | ||
val junkerQueen: CareerHeroStats, | ||
val junkrat: CareerHeroStats, | ||
val kiriko: CareerHeroStats, | ||
val lifeweaver: CareerHeroStats, | ||
val lucio: CareerHeroStats, | ||
val mauga: CareerHeroStats, | ||
val mei: CareerHeroStats, | ||
val mercy: CareerHeroStats, | ||
val moira: CareerHeroStats, | ||
val orisa: CareerHeroStats, | ||
val ramattra: CareerHeroStats, | ||
val reaper: CareerHeroStats, | ||
val reinhardt: CareerHeroStats, | ||
val roadhog: CareerHeroStats, | ||
val sigma: CareerHeroStats, | ||
val soldier76: CareerHeroStats, | ||
val sombra: CareerHeroStats, | ||
val torbjorn: CareerHeroStats, | ||
val tracer: CareerHeroStats, | ||
val widowmaker: CareerHeroStats, | ||
val winston: CareerHeroStats, | ||
val wreckingBall: CareerHeroStats, | ||
val zarya: CareerHeroStats, | ||
val zenyatta: CareerHeroStats | ||
) |
20 changes: 20 additions & 0 deletions
20
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/Combat.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class Combat( | ||
val damageDone: Int? = null, | ||
val deaths: Int? = null, | ||
val eliminations: Int? = null, | ||
val environmentalKills: Int? = null, | ||
val finalBlows: Int? = null, | ||
val heroDamageDone: Int? = null, | ||
val meleeFinalBlows: Int? = null, | ||
val multikills: Int? = null, | ||
val objectiveContestTime: String? = null, | ||
val objectiveKills: Int? = null, | ||
val objectiveTime: String? = null, | ||
val soloKills: Int? = null, | ||
val timeSpentOnFire: String? = null | ||
) |
12 changes: 12 additions & 0 deletions
12
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/Game.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class Game( | ||
val gamesLost: Int, | ||
val gamesPlayed: Int, | ||
val gamesWon: Int? = null, | ||
val heroWins: Int? = null, | ||
val timePlayed: String | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/QuickPlayStats.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class QuickPlayStats( | ||
val topHeroes: TopHeroes, | ||
val careerStats: CareerHeroes | ||
) |
13 changes: 13 additions & 0 deletions
13
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/Rating.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class Rating( | ||
val group: String, | ||
val tier: Int, | ||
val role: String, | ||
val roleIcon: String, | ||
val rankIcon: String, | ||
val tierIcon: String | ||
) |
14 changes: 14 additions & 0 deletions
14
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/TopHero.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class TopHero( | ||
val timePlayed: String, | ||
val gamesWon: Int, | ||
val weaponAccuracy: Float, | ||
val criticalHitAccuracy: Float, | ||
val eliminationsPerLife: Float, | ||
val multiKillBest: Int, | ||
val objectiveKills: Int, | ||
) |
44 changes: 44 additions & 0 deletions
44
library/src/io/github/shalva97/overwatch_player_search_api/models/profile/TopHeroes.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package io.github.shalva97.overwatch_player_search_api.models.profile | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
public data class TopHeroes( | ||
val ana: TopHero, | ||
val ashe: TopHero, | ||
val baptiste: TopHero, | ||
val bastion: TopHero, | ||
val brigitte: TopHero, | ||
val cassidy: TopHero, | ||
val dVa: TopHero, | ||
val doomfist: TopHero, | ||
val echo: TopHero, | ||
val genji: TopHero, | ||
val hanzo: TopHero, | ||
val illari: TopHero, | ||
val junkerQueen: TopHero, | ||
val junkrat: TopHero, | ||
val kiriko: TopHero, | ||
val lifeweaver: TopHero, | ||
val lucio: TopHero, | ||
val mauga: TopHero, | ||
val mei: TopHero, | ||
val mercy: TopHero, | ||
val moira: TopHero, | ||
val orisa: TopHero, | ||
val ramattra: TopHero, | ||
val reaper: TopHero, | ||
val reinhardt: TopHero, | ||
val roadhog: TopHero, | ||
val sigma: TopHero, | ||
val soldier76: TopHero, | ||
val sombra: TopHero, | ||
val torbjorn: TopHero, | ||
val tracer: TopHero, | ||
val widowmaker: TopHero, | ||
val winston: TopHero, | ||
val wreckingBall: TopHero, | ||
val zarya: TopHero, | ||
val zenyatta: TopHero | ||
) | ||
|