mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 12:32:55 +00:00
0fef22cbf1
This reverts commit caf952a3
11 lines
346 B
C#
11 lines
346 B
C#
using QSB.EchoesOfTheEye.LightSensorSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.LightSensorSync.Messages;
|
|
|
|
internal class SetEnabledMessage : QSBWorldObjectMessage<QSBLightSensor, bool>
|
|
{
|
|
public SetEnabledMessage(bool data) : base(data) { }
|
|
public override void OnReceiveRemote() => WorldObject.SetEnabled(Data);
|
|
}
|