Files
tbd-station-14/Content.Shared/Chat/ChatSelectChannel.cs
Chief-Engineer 5ece9bd9e8 Modify admin chat (#13050)
* split admin chat into new channel

* add ability to play audio when a chat message is received and add audio to admin chat

* give client control of AdminChat sound and volume + suppress sound for senders
2022-12-19 21:39:01 -06:00

57 lines
1.3 KiB
C#

namespace Content.Shared.Chat
{
/// <summary>
/// Chat channels that the player can select in the chat box.
/// </summary>
/// <remarks>
/// Maps to <see cref="ChatChannel"/>, giving better names.
/// </remarks>
[Flags]
public enum ChatSelectChannel : ushort
{
None = 0,
/// <summary>
/// Chat heard by players within earshot
/// </summary>
Local = ChatChannel.Local,
/// <summary>
/// Chat heard by players right next to each other
/// </summary>
Whisper = ChatChannel.Whisper,
/// <summary>
/// Radio messages
/// </summary>
Radio = ChatChannel.Radio,
/// <summary>
/// Local out-of-character channel
/// </summary>
LOOC = ChatChannel.LOOC,
/// <summary>
/// Out-of-character channel
/// </summary>
OOC = ChatChannel.OOC,
/// <summary>
/// Emotes
/// </summary>
Emotes = ChatChannel.Emotes,
/// <summary>
/// Deadchat
/// </summary>
Dead = ChatChannel.Dead,
/// <summary>
/// Admin chat
/// </summary>
Admin = ChatChannel.AdminChat,
Console = ChatChannel.Unspecified
}
}