13 lines
373 B
C#
Raw Normal View History

2022-03-10 23:26:09 +00:00
using QSB.EchoesOfTheEye.PictureFrameDoors.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.PictureFrameDoors.Messages;
internal class PictureFrameDoorMessage : QSBWorldObjectMessage<IQSBPictureFrameDoor, bool>
{
public PictureFrameDoorMessage(bool open) : base(open) { }
2022-03-10 23:26:09 +00:00
public override void OnReceiveRemote()
=> WorldObject.SetOpenState(Data);
}