SpeechBubble occlusion (#8018)

This commit is contained in:
metalgearsloth
2022-05-08 18:54:56 +10:00
committed by GitHub
parent bba26373ea
commit 1ac5df5e4a
5 changed files with 63 additions and 5 deletions

View File

@@ -139,6 +139,8 @@ namespace Content.Client.Chat.Managers
_stateManager.OnStateChanged += _ => UpdateChannelPermissions();
}
public IReadOnlyDictionary<EntityUid, List<SpeechBubble>> GetSpeechBubbles() => _activeSpeechBubbles;
public void PostInject()
{
_adminMgr.AdminStatusUpdated += UpdateChannelPermissions;

View File

@@ -26,6 +26,7 @@ namespace Content.Client.Chat.Managers
/// </summary>
ChatBox? CurrentChatBox { get; }
IReadOnlyDictionary<EntityUid, List<SpeechBubble>> GetSpeechBubbles();
IReadOnlyDictionary<ChatChannel, int> UnreadMessages { get; }
IReadOnlyList<StoredChatMessage> History { get; }
int MaxMessageLength { get; }