mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-29 03:28:26 +00:00
20 lines
394 B
C#
20 lines
394 B
C#
using QSB.Messaging;
|
|
|
|
namespace QSB.SatelliteSync.Messages;
|
|
|
|
public class SatelliteProjectorMessage : QSBMessage<bool>
|
|
{
|
|
public SatelliteProjectorMessage(bool usingProjector) : base(usingProjector) { }
|
|
|
|
public override void OnReceiveRemote()
|
|
{
|
|
if (Data)
|
|
{
|
|
SatelliteProjectorManager.Instance.RemoteEnter();
|
|
}
|
|
else
|
|
{
|
|
SatelliteProjectorManager.Instance.RemoteExit();
|
|
}
|
|
}
|
|
} |