namespace Content.Shared.Shuttles.Components { public abstract partial class SharedDockingComponent : Component { // Yes I left this in for now because there's no overhead and we'll need a client one later anyway // and I was too lazy to delete it. public abstract bool Docked { get; } /// /// Frontier: type of dock. /// [ViewVariables(VVAccess.ReadWrite), DataField] public DockType DockType = DockType.Airlock; /// /// Frontier: if true, can only receive docking, cannot initialize. /// [ViewVariables(VVAccess.ReadWrite), DataField] public bool ReceiveOnly = false; } // Frontier: prevent mismatched dock types from docking [Flags] public enum DockType : byte { None = 0, Airlock = 1 << 0, Gas = 1 << 1, } // End Frontier }