2022-03-10 23:26:09 +00:00

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