Files
crystall-punk-14/Content.Client/MobState/DamageStateVisualsComponent.cs

23 lines
519 B
C#
Raw Normal View History

using Content.Shared.MobState;
namespace Content.Client.MobState;
[RegisterComponent]
public sealed class DamageStateVisualsComponent : Component
{
public int? OriginalDrawDepth;
2022-06-16 17:56:00 +10:00
[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,
}