mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-06 09:39:52 +00:00
17 lines
438 B
C#
17 lines
438 B
C#
|
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
|
|||
|
));
|
|||
|
}
|