Files
wwdpublic/Content.Shared/MassMedia/Systems/SharedNewsSystem.cs
metalgearsloth 42643e8b94 NewsSystem fixes (#23969)
(cherry picked from commit abc5094a16aa98da45cb14399913f08f0fe4cb5a)
2024-01-26 22:33:17 +01:00

20 lines
468 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.MassMedia.Systems;
public abstract class SharedNewsSystem : EntitySystem
{
public const int MaxNameLength = 25;
public const int MaxArticleLength = 2048;
}
[Serializable, NetSerializable]
public struct NewsArticle
{
public string Name;
public string Content;
public string? Author;
public ICollection<(NetEntity, uint)>? AuthorStationRecordKeyIds;
public TimeSpan ShareTime;
}