Add alternative emotes channel (#15965)
This commit is contained in:
@@ -65,13 +65,24 @@ public sealed class ChatUIController : UIController
|
|||||||
{SharedChatSystem.LOOCPrefix, ChatSelectChannel.LOOC},
|
{SharedChatSystem.LOOCPrefix, ChatSelectChannel.LOOC},
|
||||||
{SharedChatSystem.OOCPrefix, ChatSelectChannel.OOC},
|
{SharedChatSystem.OOCPrefix, ChatSelectChannel.OOC},
|
||||||
{SharedChatSystem.EmotesPrefix, ChatSelectChannel.Emotes},
|
{SharedChatSystem.EmotesPrefix, ChatSelectChannel.Emotes},
|
||||||
|
{SharedChatSystem.EmotesAltPrefix, ChatSelectChannel.Emotes},
|
||||||
{SharedChatSystem.AdminPrefix, ChatSelectChannel.Admin},
|
{SharedChatSystem.AdminPrefix, ChatSelectChannel.Admin},
|
||||||
{SharedChatSystem.RadioCommonPrefix, ChatSelectChannel.Radio},
|
{SharedChatSystem.RadioCommonPrefix, ChatSelectChannel.Radio},
|
||||||
{SharedChatSystem.DeadPrefix, ChatSelectChannel.Dead}
|
{SharedChatSystem.DeadPrefix, ChatSelectChannel.Dead}
|
||||||
};
|
};
|
||||||
|
|
||||||
public static readonly Dictionary<ChatSelectChannel, char> ChannelPrefixes =
|
public static readonly Dictionary<ChatSelectChannel, char> ChannelPrefixes = new()
|
||||||
PrefixToChannel.ToDictionary(kv => kv.Value, kv => kv.Key);
|
{
|
||||||
|
{ChatSelectChannel.Local, SharedChatSystem.LocalPrefix},
|
||||||
|
{ChatSelectChannel.Whisper, SharedChatSystem.WhisperPrefix},
|
||||||
|
{ChatSelectChannel.Console, SharedChatSystem.ConsolePrefix},
|
||||||
|
{ChatSelectChannel.LOOC, SharedChatSystem.LOOCPrefix},
|
||||||
|
{ChatSelectChannel.OOC, SharedChatSystem.OOCPrefix},
|
||||||
|
{ChatSelectChannel.Emotes, SharedChatSystem.EmotesPrefix},
|
||||||
|
{ChatSelectChannel.Admin, SharedChatSystem.AdminPrefix},
|
||||||
|
{ChatSelectChannel.Radio, SharedChatSystem.RadioCommonPrefix},
|
||||||
|
{ChatSelectChannel.Dead, SharedChatSystem.DeadPrefix}
|
||||||
|
};
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The max amount of chars allowed to fit in a single speech bubble.
|
/// The max amount of chars allowed to fit in a single speech bubble.
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ public abstract class SharedChatSystem : EntitySystem
|
|||||||
public const char LOOCPrefix = '(';
|
public const char LOOCPrefix = '(';
|
||||||
public const char OOCPrefix = '[';
|
public const char OOCPrefix = '[';
|
||||||
public const char EmotesPrefix = '@';
|
public const char EmotesPrefix = '@';
|
||||||
|
public const char EmotesAltPrefix = '*';
|
||||||
public const char AdminPrefix = ']';
|
public const char AdminPrefix = ']';
|
||||||
public const char WhisperPrefix = ',';
|
public const char WhisperPrefix = ',';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user