using Content.Server.Spawners.EntitySystems;
namespace Content.Server.Spawners.Components;
///
/// A spawn point that spawns a player into a target container rather than simply spawning them at a position.
/// Occurs before regular spawn points but after arrivals.
///
[RegisterComponent]
[Access(typeof(ContainerSpawnPointSystem))]
public sealed partial class ContainerSpawnPointComponent : Component
{
///
/// The ID of the container that this entity will spawn players into
///
[DataField(required: true), ViewVariables(VVAccess.ReadWrite)]
public string ContainerId = string.Empty;
///
/// An optional job specifier
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public string? Job;
///
/// The type of spawn point
///
[DataField, ViewVariables(VVAccess.ReadWrite)]
public SpawnPointType SpawnType = SpawnPointType.Unset;
}