GhostRoleMarkerRoleComponent.cs 481 B

123456789101112131415
  1. using Content.Shared.Roles;
  2. namespace Content.Server.Ghost.Roles;
  3. /// <summary>
  4. /// Added to mind role entities to tag that they are a ghostrole.
  5. /// It also holds the name for the round end display
  6. /// </summary>
  7. [RegisterComponent]
  8. public sealed partial class GhostRoleMarkerRoleComponent : BaseMindRoleComponent
  9. {
  10. //TODO does anything still use this? It gets populated by GhostRolesystem but I don't see anything ever reading it
  11. [DataField] public string? Name;
  12. }