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

18 lines
563 B
C#

using Robust.Shared.Prototypes;
namespace Content.Server.Holiday;
/// <summary>
/// This is used for an entity that enables unique visuals on specified holidays.
/// </summary>
[RegisterComponent]
public sealed partial class HolidayVisualsComponent : Component
{
/// <summary>
/// A dictionary relating a generic key to a list of holidays.
/// If any of the holidays are being celebrated, that key will be set for holiday visuals.
/// </summary>
[DataField]
public Dictionary<string, List<ProtoId<HolidayPrototype>>> Holidays = new();
}