using QSB.Messaging; namespace QSB.SatelliteSync.Messages { internal class SatelliteProjectorMessage : QSBMessage { public SatelliteProjectorMessage(bool usingProjector) => Value = usingProjector; public override void OnReceiveRemote() { if (Value) { SatelliteProjectorManager.Instance.RemoteEnter(); } else { SatelliteProjectorManager.Instance.RemoteExit(); } } } }