Update radio prefix parsing (#13777)

This commit is contained in:
Leon Friedrich
2023-02-19 06:27:56 +13:00
committed by GitHub
parent 63a0c76ecc
commit 75a559fa55
32 changed files with 659 additions and 606 deletions

View File

@@ -0,0 +1,15 @@
using Content.Shared.Chat;
using Content.Shared.Inventory;
namespace Content.Shared.Radio;
public sealed class GetDefaultRadioChannelEvent : EntityEventArgs, IInventoryRelayEvent
{
/// <summary>
/// Id of the default <see cref="RadioChannelPrototype"/> that will get addressed when using the
/// department/default channel prefix. See <see cref="SharedChatSystem.DefaultChannelKey"/>.
/// </summary>
public string? Channel;
public SlotFlags TargetSlots => ~SlotFlags.POCKET;
}