2023-08-15 14:47:55 +03:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
namespace Content.Shared._White.GhostRecruitment;
|
2023-08-15 14:47:55 +03:00
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-17 23:41:13 +03:00
|
|
|
public sealed partial class GhostRecruitmentSpawnPointComponent : Component
|
2023-08-15 14:47:55 +03:00
|
|
|
{
|
2025-01-12 22:45:08 +03:00
|
|
|
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>), required: true)]
|
2023-08-15 14:47:55 +03:00
|
|
|
public string EntityPrototype = default!;
|
|
|
|
|
|
|
|
|
|
[DataField("recruitmentName")]
|
|
|
|
|
public string RecruitmentName = "default";
|
|
|
|
|
|
|
|
|
|
[DataField("priority")] public int Priority = 5;
|
2025-01-12 22:45:08 +03:00
|
|
|
|
|
|
|
|
[DataField]
|
|
|
|
|
public string JobId = "Passenger";
|
2023-08-15 14:47:55 +03:00
|
|
|
}
|