Cargo shuttle changes (#14363)
This commit is contained in:
18
Content.Server/Shuttles/Components/PriorityDockComponent.cs
Normal file
18
Content.Server/Shuttles/Components/PriorityDockComponent.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Content.Shared.Tag;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Shuttles.Components;
|
||||
|
||||
/// <summary>
|
||||
/// Given priority when considering where to dock.
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public sealed class PriorityDockComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// Tag to match on the docking request, if this dock is to be prioritised.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite),
|
||||
DataField("tag", customTypeSerializer: typeof(PrototypeIdSerializer<TagPrototype>))]
|
||||
public string? Tag;
|
||||
}
|
||||
Reference in New Issue
Block a user