mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 16:47:26 +00:00
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);
|
|
}
|
|
}
|
|
}
|