MetabolizerTypePrototype.cs 447 B

1234567891011121314151617
  1. using Robust.Shared.Prototypes;
  2. namespace Content.Shared.Body.Prototypes
  3. {
  4. [Prototype]
  5. public sealed partial class MetabolizerTypePrototype : IPrototype
  6. {
  7. [IdDataField]
  8. public string ID { get; private set; } = default!;
  9. [DataField("name", required: true)]
  10. private LocId Name { get; set; }
  11. [ViewVariables(VVAccess.ReadOnly)]
  12. public string LocalizedName => Loc.GetString(Name);
  13. }
  14. }