Files
tbd-station-14/Content.Client/MobState/DamageStateVisualsComponent.cs
2022-06-16 17:56:00 +10:00

23 lines
519 B
C#

using Content.Shared.MobState;
namespace Content.Client.MobState;
[RegisterComponent]
public sealed class DamageStateVisualsComponent : Component
{
public int? OriginalDrawDepth;
[DataField("states")] public Dictionary<DamageState, Dictionary<DamageStateVisualLayers, string>> States = new();
/// <summary>
/// Should noRot be turned off when crit / dead.
/// </summary>
[DataField("rotate")] public bool Rotate;
}
public enum DamageStateVisualLayers : byte
{
Base,
BaseUnshaded,
}