quantum-space-buddies/QSB/EchoesOfTheEye/DreamLantern/Messages/SetConcealedMessage.cs

13 lines
383 B
C#
Raw Normal View History

2022-04-14 06:30:59 +00:00
using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
2023-07-28 18:30:57 +00:00
public class SetConcealedMessage : QSBWorldObjectMessage<QSBDreamLanternController, bool>
2022-04-14 06:30:59 +00:00
{
public SetConcealedMessage(bool concealed) : base(concealed) { }
public override void OnReceiveRemote() =>
WorldObject.AttachedObject.SetConcealed(Data);
2022-04-14 06:30:59 +00:00
}