Files
OldThink/Content.Shared/_White/EntityHealthBar/ShowHealthBarsComponent.cs

21 lines
731 B
C#
Raw Permalink Normal View History

2023-04-27 23:54:17 +06:00
using Content.Shared.Damage.Prototypes;
using Robust.Shared.GameStates;
2023-04-27 23:54:17 +06:00
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
namespace Content.Shared._White.EntityHealthBar
2023-04-27 23:54:17 +06:00
{
/// <summary>
/// This component allows you to see health bars above damageable mobs.
/// </summary>
[RegisterComponent, NetworkedComponent]
2024-01-20 06:52:03 +03:00
public sealed partial class ShowWhiteHealthBarsComponent : Component
2023-04-27 23:54:17 +06:00
{
/// <summary>
2023-05-05 11:00:15 +03:00
/// Displays health bars of the damage containers.
2023-04-27 23:54:17 +06:00
/// </summary>
[DataField("damageContainers", customTypeSerializer: typeof(PrototypeIdListSerializer<DamageContainerPrototype>))]
2024-01-19 11:48:35 +03:00
public List<string>? DamageContainers;
2023-04-27 23:54:17 +06:00
}
}