mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-10 06:51:36 +00:00
14 lines
421 B
C#
14 lines
421 B
C#
using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
|
|
using QSB.Messaging;
|
|
using QSB.Patches;
|
|
|
|
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
|
|
|
|
internal class SetConcealedMessage : QSBWorldObjectMessage<QSBDreamLantern, bool>
|
|
{
|
|
public SetConcealedMessage(bool concealed) : base(concealed) { }
|
|
|
|
public override void OnReceiveRemote()
|
|
=> QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetConcealed(Data));
|
|
}
|