Files
wwdpublic/Content.Client/Holiday/HolidayRsiSwapComponent.cs
Nemanja f4264f6a9c Automatic holiday sprites (#22929)
(cherry picked from commit 00813171c1caa0a6e56dc28fbcbb37dcfc417ebc)
2024-01-22 18:36:53 +01:00

15 lines
422 B
C#

namespace Content.Client.Holiday;
/// <summary>
/// This is used for a component that swaps an entity's RSI based on HolidayVisuals
/// </summary>
[RegisterComponent]
public sealed partial class HolidayRsiSwapComponent : Component
{
/// <summary>
/// A dictionary of arbitrary visual keys to an rsi to swap the sprite to.
/// </summary>
[DataField]
public Dictionary<string, string> Sprite = new();
}