18 lines
440 B
C#
Raw Normal View History

2022-07-25 10:19:16 +01:00
using QSB.EchoesOfTheEye.AirlockSync.Messages;
using QSB.Messaging;
using QSB.WorldSync;
namespace QSB.EchoesOfTheEye.AirlockSync.WorldObjects;
internal class QSBGhostAirlock : WorldObject<GhostAirlock>
{
public override void SendInitialState(uint to)
=> this.SendMessage(
new AirlockInitialStateMessage(
AttachedObject._innerDoor.IsOpen(),
AttachedObject._outerDoor.IsOpen(),
AttachedObject._pressurized
2022-08-02 16:33:12 -07:00
)
);
2022-07-25 10:19:16 +01:00
}