[F] Fix kaleidx parsing

pull/111/head
Azalea 2025-01-17 18:48:47 -05:00
parent 202df27f88
commit 43582f0528
2 changed files with 8 additions and 6 deletions

View File

@ -188,7 +188,9 @@ fun Maimai2ServletController.initApis() {
"GetGameTournamentInfo" static { mapOf("length" to 0, "gameTournamentInfoList" to empty) }
// Kaleidoscope, added on 1.50
"GetGameKaleidxScope" static { mapOf("gameKaleidxScopeList" to empty) }
"GetGameKaleidxScope" static { mapOf("gameKaleidxScopeList" to ls(
mapOf("gateId" to 1, "phaseId" to 1),
)) }
"GetUserKaleidxScope".unpaged { db.userKaleidx.findByUser_Card_ExtId(uid) }
// Added on 1.50
"GetUserNewItemList" { mapOf("userId" to uid, "userItemList" to empty) }

View File

@ -590,10 +590,10 @@ class Mai2UserKaleidx : Mai2UserEntity() {
var totalDeluxscore = 0
var bestAchievement = 0
var bestDeluxscore = 0
var bestAchievementDate: LocalDateTime = LocalDateTime.MIN
var bestDeluxscoreDate: LocalDateTime = LocalDateTime.MIN
var bestAchievementDate: LocalDateTime? = null
var bestDeluxscoreDate: LocalDateTime? = null
var playCount = 0
var clearDate: LocalDateTime = LocalDateTime.MIN
var lastPlayDate: LocalDateTime = LocalDateTime.MIN
var clearDate: LocalDateTime? = null
var lastPlayDate: LocalDateTime? = null
var isInfoWatched = false
}
}