fish-station/Content.Server/_Sunrise/TransitHub/StationTransitHubComponent.cs
2025-05-29 10:25:30 +03:00

23 lines
717 B
C#

using Content.Server.Shuttles.Systems;
using Content.Shared.Parallax.Biomes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
using Robust.Shared.Utility;
namespace Content.Server._Sunrise.TransitHub;
[RegisterComponent, Access( typeof(EmergencyShuttleSystem))]
public sealed partial class StationTransitHubComponent : Component
{
[DataField]
public ResPath Map = new("/Maps/centcomm.yml");
[DataField]
public EntityUid? Entity;
[DataField]
public EntityUid? MapEntity;
[ViewVariables(VVAccess.ReadOnly),
DataField(customTypeSerializer: typeof(PrototypeIdListSerializer<BiomeTemplatePrototype>))]
public List<string> Biomes = new();
}