mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 13:23:05 +00:00
14 lines
428 B
C#
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));
|
|
}
|