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