1
0

HostileHUDComponent.cs 664 B

123456789101112131415161718192021
  1. using Robust.Shared.Audio;
  2. using Content.Shared.StatusIcon;
  3. using Robust.Shared.Prototypes;
  4. using Robust.Shared.GameStates;
  5. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
  6. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  7. /// <summary>
  8. /// This is used for tagging a mob as hostile.
  9. /// </summary>
  10. [RegisterComponent, NetworkedComponent]
  11. public sealed partial class HostileHUDComponent : Component
  12. {
  13. /// <summary>
  14. ///
  15. /// </summary>
  16. [DataField("statusIcon", customTypeSerializer: typeof(PrototypeIdSerializer<FactionIconPrototype>))]
  17. public string StatusIcon = "HostileFaction";
  18. }