quantum-space-buddies/QSB/EchoesOfTheEye/PictureFrameDoors/Messages/PictureFrameDoorMessage.cs
2022-03-11 01:11:57 -08:00

13 lines
373 B
C#

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) { }
public override void OnReceiveRemote()
=> WorldObject.SetOpenState(Data);
}