mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +00:00
15 lines
519 B
C#
15 lines
519 B
C#
using QSB.EchoesOfTheEye.PictureFrameDoors.Messages;
|
|
using QSB.Messaging;
|
|
using QSB.WorldSync;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.EchoesOfTheEye.PictureFrameDoors.WorldObjects;
|
|
|
|
public abstract class QSBPictureFrameDoor<T> : WorldObject<T>, IQSBPictureFrameDoor
|
|
where T : PictureFrameDoorInterface
|
|
{
|
|
public override void SendInitialState(uint to)
|
|
=> ((IQSBPictureFrameDoor)this).SendMessage(new PictureFrameDoorMessage(AttachedObject._door.IsOpen()) { To = to });
|
|
|
|
public abstract void SetOpenState(bool open);
|
|
} |