quantum-space-buddies/QSB/EchoesOfTheEye/DreamObjectProjectors/Messages/ProjectorLitMessage.cs
2023-07-28 19:30:57 +01:00

12 lines
378 B
C#

using QSB.EchoesOfTheEye.DreamObjectProjectors.WorldObject;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.DreamObjectProjectors.Messages;
public class ProjectorLitMessage : QSBWorldObjectMessage<QSBDreamObjectProjector, bool>
{
public ProjectorLitMessage(bool lit) : base(lit) { }
public override void OnReceiveRemote() => WorldObject.AttachedObject.SetLit(Data);
}