diff --git a/nise-backend/src/main/kotlin/com/nisemoe/nise/Models.kt b/nise-backend/src/main/kotlin/com/nisemoe/nise/Models.kt index dce55dd..a63f67f 100644 --- a/nise-backend/src/main/kotlin/com/nisemoe/nise/Models.kt +++ b/nise-backend/src/main/kotlin/com/nisemoe/nise/Models.kt @@ -204,6 +204,31 @@ data class ReplayData( } +// Contains everything needed to reconstruct a replay (.osr) file. +// We currently do not store some of these - these have been marked. +data class EncodedReplayData( + val gameMode: Byte, + val gameVersion: Int, + val beatmapHash: String, + val username: String, + val replayHash: String, // We do not store - maybe we can reconstruct? + val count300: Short, + val count100: Short, + val count50: Short, + val countGeki: Short, // We do not store - probably should + val countKatu: Short, // We do not store - probably should + val countMisses: Short, + val totalScore: Int, + val greatestCombo: Short, + val perfect: Byte, + val mods: Int, + val lifeBar: String, // We do not store, and maybe shouldn't? + val timeStamp: Long, + val replayLength: ByteArray, // We do not store - could be calculated? + val scoreId: Long, + val additionalInformation: Double, // We do not store - probably not needed +) + data class DistributionEntry( val countMiss: Double, val count300: Double,