forked from Cookies_Github_mirror/AquaDX
[O] Remake maimai2 user summary api
This commit is contained in:
37
src/main/java/icu/samnyan/aqua/net/games/Models.kt
Normal file
37
src/main/java/icu/samnyan/aqua/net/games/Models.kt
Normal file
@@ -0,0 +1,37 @@
|
||||
package icu.samnyan.aqua.net.games
|
||||
|
||||
data class TrendOut(val date: String, val rating: Int, val plays: Int)
|
||||
|
||||
data class GenericGamePlaylog(
|
||||
val playDate: String,
|
||||
val achievement: Int,
|
||||
val maxCombo: Int,
|
||||
val totalCombo: Int
|
||||
)
|
||||
|
||||
data class RankCount(val name: String, val count: Int)
|
||||
|
||||
data class GenericGameSummary(
|
||||
val name: String,
|
||||
val iconId: Int,
|
||||
|
||||
val serverRank: Long,
|
||||
val accuracy: Double,
|
||||
val rating: Int,
|
||||
val ratingHighest: Int,
|
||||
val ranks: List<RankCount>,
|
||||
val maxCombo: Int,
|
||||
val fullCombo: Int,
|
||||
val allPerfect: Int,
|
||||
val totalScore: Long,
|
||||
|
||||
val plays: Int,
|
||||
val totalPlayTime: Long,
|
||||
val joined: String,
|
||||
val lastSeen: String,
|
||||
val lastVersion: String,
|
||||
|
||||
val ratingComposition: Map<String, Any>,
|
||||
|
||||
val recent: List<GenericGamePlaylog>
|
||||
)
|
||||
Reference in New Issue
Block a user