mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
13 lines
373 B
C#
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);
|
|
}
|