6
2026-01-13 18:31:02 +02:00

18 lines
406 B
C#

using Content.Server.Holiday.Interfaces;
using JetBrains.Annotations;
namespace Content.Server.Holiday.Greet
{
[UsedImplicitly]
[DataDefinition]
public sealed partial class Custom : IHolidayGreet
{
[DataField("text")] private string _greet = string.Empty;
public string Greet(HolidayPrototype holiday)
{
return Loc.GetString(_greet);
}
}
}