mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-27 06:18:52 +00:00
13 lines
357 B
C#
13 lines
357 B
C#
using QSB.Messaging;
|
|
|
|
namespace QSB.TimeSync.Messages;
|
|
|
|
/// <summary>
|
|
/// sent from non-host to host
|
|
/// </summary>
|
|
public class SetSecondsRemainingMessage : QSBMessage<float>
|
|
{
|
|
public SetSecondsRemainingMessage(float secondsRemaining) : base(secondsRemaining) => To = 0;
|
|
public override void OnReceiveRemote() => TimeLoop.SetSecondsRemaining(Data);
|
|
}
|