2022-03-29 12:03:13 -07:00

14 lines
428 B
C#

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