Улучшения ОБР

This commit is contained in:
BIGZi0348
2025-01-12 22:45:08 +03:00
parent 6d5e8e5273
commit a867f549b1
5 changed files with 48 additions and 9 deletions

View File

@@ -6,11 +6,14 @@ namespace Content.Shared._White.GhostRecruitment;
[RegisterComponent]
public sealed partial class GhostRecruitmentSpawnPointComponent : Component
{
[DataField("prototype", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>),required:true)]
[DataField("prototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>), required: true)]
public string EntityPrototype = default!;
[DataField("recruitmentName")]
public string RecruitmentName = "default";
[DataField("priority")] public int Priority = 5;
[DataField]
public string JobId = "Passenger";
}