diff --git a/BeatTogether.DedicatedServer.Messaging/Models/LevelCompletionResults.cs b/BeatTogether.DedicatedServer.Messaging/Models/LevelCompletionResults.cs index b970401..26149a2 100644 --- a/BeatTogether.DedicatedServer.Messaging/Models/LevelCompletionResults.cs +++ b/BeatTogether.DedicatedServer.Messaging/Models/LevelCompletionResults.cs @@ -31,6 +31,7 @@ public sealed class LevelCompletionResults : INetSerializable public float AverageCutScoreForNotesWithFullScoreScoringType { get; set; } public int MaxCombo { get; set; } public float EndSongTime { get; set; } + public bool Invalidated { get; set; } public void ReadFrom(ref SpanBuffer reader) { @@ -58,6 +59,7 @@ public void ReadFrom(ref SpanBuffer reader) AverageCutScoreForNotesWithFullScoreScoringType = reader.ReadFloat32(); MaxCombo = reader.ReadVarInt(); EndSongTime = reader.ReadFloat32(); + Invalidated = reader.ReadBool(); // Added in 1.37.1 } public void WriteTo(ref SpanBuffer writer) @@ -86,6 +88,7 @@ public void WriteTo(ref SpanBuffer writer) writer.WriteFloat32(AverageCutScoreForNotesWithFullScoreScoringType); writer.WriteVarInt(MaxCombo); writer.WriteFloat32(EndSongTime); + writer.WriteBool(Invalidated); // Added in 1.37.1 } } }