AirlockDepartmentsPrototype.cs 632 B

123456789101112131415161718192021
  1. using Content.Shared.Roles;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.SprayPainter.Prototypes;
  4. /// <summary>
  5. /// Maps airlock style names to department ids.
  6. /// </summary>
  7. [Prototype]
  8. public sealed partial class AirlockDepartmentsPrototype : IPrototype
  9. {
  10. [IdDataField]
  11. public string ID { get; private set; } = default!;
  12. /// <summary>
  13. /// Dictionary of style names to department ids.
  14. /// If a style does not have a department (e.g. external) it is set to null.
  15. /// </summary>
  16. [DataField(required: true)]
  17. public Dictionary<string, ProtoId<DepartmentPrototype>> Departments = new();
  18. }