Delta-v/Content.Client/DamageState/DamageStateVisualsComponent.cs

20 lines
478 B
C#

using Content.Shared.Mobs;
namespace Content.Client.DamageState;
[RegisterComponent]
public sealed partial class DamageStateVisualsComponent : Component
{
public int? OriginalDrawDepth;
[DataField("states")] public Dictionary<MobState, Dictionary<DamageStateVisualLayers, string>> States = new();
}
public enum DamageStateVisualLayers : byte
{
Base,
BaseUnshaded,
BaseUnshadedAccessory, // DeltaV - Pet clothing
Tail, // DeltaV - Pet tails wagging
}