6
2026-01-24 12:49:55 +03: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);
}
}
}