Co-authored-by: Veritius <veritiusgaming@gmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
15 lines
479 B
C#
15 lines
479 B
C#
using Robust.Shared.Prototypes;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
|
|
|
namespace Content.Shared.Roles;
|
|
|
|
[Prototype("department")]
|
|
public sealed class DepartmentPrototype : IPrototype
|
|
{
|
|
[IdDataFieldAttribute] public string ID { get; } = default!;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite),
|
|
DataField("roles", customTypeSerializer: typeof(PrototypeIdListSerializer<JobPrototype>))]
|
|
public List<string> Roles = new();
|
|
}
|