From e9e9e0a621af01bc6ada1576738fbf9f8e7d1332 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Sat, 4 Jan 2025 17:13:41 -0500 Subject: [PATCH] [F] Fix types --- .../chusan/model/request/UpsertUserAll.kt | 10 +-- .../chusan/model/userdata/Chu3NetBattleLog.kt | 72 +++++++++---------- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/src/main/java/icu/samnyan/aqua/sega/chusan/model/request/UpsertUserAll.kt b/src/main/java/icu/samnyan/aqua/sega/chusan/model/request/UpsertUserAll.kt index fd202b62..dafe9bc8 100644 --- a/src/main/java/icu/samnyan/aqua/sega/chusan/model/request/UpsertUserAll.kt +++ b/src/main/java/icu/samnyan/aqua/sega/chusan/model/request/UpsertUserAll.kt @@ -20,17 +20,17 @@ class UpsertTeamPoint( // So I will not include it in the data class var teamId: Long = 0, var orderId: Int = 0, - var teamPoint: Int = 0, + var teamPoint: Long = 0, var aggrDate: String = "", ) data class UpsertNetBattleData( val recentNBSelectMusicList: List = emptyList(), val isRankUpChallengeFailed: Boolean = false, - val highestBattleRankId: Int = 0, - val battleIconId: Int = 0, - val battleIconNum: Int = 0, - val avatarEffectPoint: Int = 0, + val highestBattleRankId: Long = 0, + val battleIconId: Long = 0, + val battleIconNum: Long = 0, + val avatarEffectPoint: Long = 0, ) data class UpsertNBSelectMusic( diff --git a/src/main/java/icu/samnyan/aqua/sega/chusan/model/userdata/Chu3NetBattleLog.kt b/src/main/java/icu/samnyan/aqua/sega/chusan/model/userdata/Chu3NetBattleLog.kt index 13f2f66a..d1d26396 100644 --- a/src/main/java/icu/samnyan/aqua/sega/chusan/model/userdata/Chu3NetBattleLog.kt +++ b/src/main/java/icu/samnyan/aqua/sega/chusan/model/userdata/Chu3NetBattleLog.kt @@ -3,44 +3,44 @@ package icu.samnyan.aqua.sega.chusan.model.userdata //@Entity(name = "ChusanNetBattleLog") //@Table(name = "chusan_net_battle_log") class Chu3NetBattleLog( - val roomId: Int = 0, - val track: Int = 0, - val selectUserId: Int = 0, + val roomId: Long = 0, + val track: Long = 0, + val selectUserId: Long = 0, val selectUserName: String = "", - val opponentUserId1: Int = 0, - val opponentUserId2: Int = 0, - val opponentUserId3: Int = 0, + val opponentUserId1: Long = 0, + val opponentUserId2: Long = 0, + val opponentUserId3: Long = 0, val opponentUserName1: String = "", val opponentUserName2: String = "", val opponentUserName3: String = "", - val opponentRegionId1: Int = 0, - val opponentRegionId2: Int = 0, - val opponentRegionId3: Int = 0, - val opponentRating1: Int = 0, - val opponentRating2: Int = 0, - val opponentRating3: Int = 0, - val opponentBattleRankId1: Int = 0, - val opponentBattleRankId2: Int = 0, - val opponentBattleRankId3: Int = 0, - val opponentClassEmblemMedal1: Int = 0, - val opponentClassEmblemMedal2: Int = 0, - val opponentClassEmblemMedal3: Int = 0, - val opponentClassEmblemBase1: Int = 0, - val opponentClassEmblemBase2: Int = 0, - val opponentClassEmblemBase3: Int = 0, - val opponentScore1: Int = 0, - val opponentScore2: Int = 0, - val opponentScore3: Int = 0, - val opponentCharaIllustId1: Int = 0, - val opponentCharaIllustId2: Int = 0, - val opponentCharaIllustId3: Int = 0, - val opponentCharaLv1: Int = 0, - val opponentCharaLv2: Int = 0, - val opponentCharaLv3: Int = 0, - val opponentRatingEffectColorId1: Int = 0, - val opponentRatingEffectColorId2: Int = 0, - val opponentRatingEffectColorId3: Int = 0, - val battleRuleId: Int = 0, - val monthPoint: Int = 0, - val eventPoint: Int = 0 + val opponentRegionId1: Long = 0, + val opponentRegionId2: Long = 0, + val opponentRegionId3: Long = 0, + val opponentRating1: Long = 0, + val opponentRating2: Long = 0, + val opponentRating3: Long = 0, + val opponentBattleRankId1: Long = 0, + val opponentBattleRankId2: Long = 0, + val opponentBattleRankId3: Long = 0, + val opponentClassEmblemMedal1: Long = 0, + val opponentClassEmblemMedal2: Long = 0, + val opponentClassEmblemMedal3: Long = 0, + val opponentClassEmblemBase1: Long = 0, + val opponentClassEmblemBase2: Long = 0, + val opponentClassEmblemBase3: Long = 0, + val opponentScore1: Long = 0, + val opponentScore2: Long = 0, + val opponentScore3: Long = 0, + val opponentCharaIllustId1: Long = 0, + val opponentCharaIllustId2: Long = 0, + val opponentCharaIllustId3: Long = 0, + val opponentCharaLv1: Long = 0, + val opponentCharaLv2: Long = 0, + val opponentCharaLv3: Long = 0, + val opponentRatingEffectColorId1: Long = 0, + val opponentRatingEffectColorId2: Long = 0, + val opponentRatingEffectColorId3: Long = 0, + val battleRuleId: Long = 0, + val monthPoLong: Long = 0, + val eventPoLong: Long = 0 ) : Chu3UserEntity()