// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using MessagePack; using osu.Game.Online.Spectator; namespace osu.Game.Rulesets.Replays { [MessagePackObject] public class ReplayFrame { /// /// The time at which this takes place. /// [Key(0)] public double Time; /// /// A containing the state of a play after this takes place. /// May be omitted where exact per-frame accuracy is not required. /// [IgnoreMember] public FrameHeader? Header; public ReplayFrame() { } public ReplayFrame(double time) { Time = time; } } }