18 lines
406 B
C#
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);
|
|
}
|
|
}
|
|
}
|