using QSB.Messaging; namespace QSB.TimeSync.Messages; /// /// sent from non-host to host /// public class SetSecondsRemainingMessage : QSBMessage { public SetSecondsRemainingMessage(float secondsRemaining) : base(secondsRemaining) => To = 0; public override void OnReceiveRemote() => TimeLoop.SetSecondsRemaining(Data); }