mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
14 lines
374 B
C#
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);
|
|
}
|