2023-01-13 16:57:10 -08:00
|
|
|
using Content.Shared.Mobs;
|
2022-06-16 07:14:06 +03:00
|
|
|
|
2023-01-13 16:57:10 -08:00
|
|
|
namespace Content.Client.DamageState;
|
2022-06-16 07:14:06 +03:00
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class DamageStateVisualsComponent : Component
|
2022-06-16 07:14:06 +03:00
|
|
|
{
|
|
|
|
|
public int? OriginalDrawDepth;
|
|
|
|
|
|
2023-01-13 16:57:10 -08:00
|
|
|
[DataField("states")] public Dictionary<MobState, Dictionary<DamageStateVisualLayers, string>> States = new();
|
2022-06-16 07:14:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DamageStateVisualLayers : byte
|
|
|
|
|
{
|
|
|
|
|
Base,
|
|
|
|
|
BaseUnshaded,
|
|
|
|
|
}
|