Add info about reconstructing replays via model
This commit is contained in:
parent
b5bff780bb
commit
b25139367a
@ -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(
|
data class DistributionEntry(
|
||||||
val countMiss: Double,
|
val countMiss: Double,
|
||||||
val count300: Double,
|
val count300: Double,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user