quantum-space-buddies/QSB/SatelliteSync/Messages/SatelliteProjectorSnapshotMessage.cs

10 lines
315 B
C#
Raw Normal View History

2021-12-25 05:19:21 +00:00
using QSB.Messaging;
2022-03-03 03:46:33 +00:00
namespace QSB.SatelliteSync.Messages;
internal class SatelliteProjectorSnapshotMessage : QSBMessage<bool>
2021-12-25 05:19:21 +00:00
{
2022-03-03 03:46:33 +00:00
public SatelliteProjectorSnapshotMessage(bool forward) => Data = forward;
2021-12-25 05:19:21 +00:00
2022-03-03 03:46:33 +00:00
public override void OnReceiveRemote() => SatelliteProjectorManager.Instance.RemoteTakeSnapshot(Data);
}