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

12 lines
325 B
C#
Raw Normal View History

2021-12-25 05:19:21 +00:00
using QSB.Messaging;
namespace QSB.SatelliteSync.Messages
{
2022-01-27 04:35:43 +00:00
internal class SatelliteProjectorSnapshotMessage : QSBMessage<bool>
2021-12-25 05:19:21 +00:00
{
public SatelliteProjectorSnapshotMessage(bool forward) => Value = forward;
public override void OnReceiveRemote() => SatelliteProjectorManager.Instance.RemoteTakeSnapshot(Value);
}
}