2022-03-29 18:53:19 +01:00

13 lines
388 B
C#

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