diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/Maimai2Apis.kt b/src/main/java/icu/samnyan/aqua/sega/maimai2/Maimai2Apis.kt index 2fa37782..e1b91b6a 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/Maimai2Apis.kt +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/Maimai2Apis.kt @@ -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) } diff --git a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserEntities.kt b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserEntities.kt index 34fe0997..ca49b63c 100644 --- a/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserEntities.kt +++ b/src/main/java/icu/samnyan/aqua/sega/maimai2/model/userdata/UserEntities.kt @@ -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 -} \ No newline at end of file +}