Files
OldThink/Content.Server/_White/Radio/Components/MessagesServerComponent.cs
Spatison cced3cc98b Сообщения в ПДА 2 (#583)
* add: AdminLog

* tweak: clean up

* fix: Changeling -> Network

* add: сортировка сообщений

* fix: ТексТ
2024-08-08 13:20:06 +03:00

21 lines
670 B
C#

using Content.Server.Power.Components;
using Content.Shared._White.CartridgeLoader.Cartridges;
namespace Content.Server._White.Radio.Components;
/// <summary>
/// Entities with <see cref="MessagesServerComponent"/> are needed to transmit messages using PDAs.
/// They also need to be powered by <see cref="ApcPowerReceiverComponent"/>
/// in order for them to work on the same map as server.
/// </summary>
[RegisterComponent]
public sealed partial class MessagesServerComponent : Component
{
/// <summary>
/// Dictionary translating IDs to MessagesUser
/// </summary>
[DataField]
public Dictionary<int, MessagesUserData> Dictionary = new();
}