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

13 lines
383 B
C#

using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
public class SetConcealedMessage : QSBWorldObjectMessage<QSBDreamLanternController, bool>
{
public SetConcealedMessage(bool concealed) : base(concealed) { }
public override void OnReceiveRemote() =>
WorldObject.AttachedObject.SetConcealed(Data);
}