Files
tbd-station-14/Content.Shared/Storage/Components/StorageFillVisualizerComponent.cs
2022-03-24 00:14:23 +11:00

29 lines
603 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Storage.Components;
/// <summary>
/// Change sprite depending on a storage fill percent.
/// </summary>
[RegisterComponent]
public sealed class StorageFillVisualizerComponent : Component
{
[DataField("maxFillLevels", required: true)]
public int MaxFillLevels;
[DataField("fillBaseName", required: true)]
public string FillBaseName = default!;
}
[Serializable, NetSerializable]
public enum StorageFillVisuals : byte
{
FillLevel
}
[Serializable, NetSerializable]
public enum StorageFillLayers : byte
{
Fill
}