Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -3,7 +3,7 @@ using Robust.Shared.Maths;
namespace Content.Client.Chat
{
public class ChatHelper
public sealed class ChatHelper
{
public static Color ChatColor(ChatChannel channel) =>
channel switch

View File

@@ -4,7 +4,7 @@ using Robust.Shared.Maths;
namespace Content.Client.Chat
{
public class StoredChatMessage
public sealed class StoredChatMessage
{
// TODO Make me reflected with respect to MsgChatMessage

View File

@@ -22,6 +22,7 @@ using Robust.Shared.Utility;
namespace Content.Client.Chat.UI
{
[GenerateTypedNameReferences]
[Virtual]
public partial class ChatBox : Control
{
[Dependency] protected readonly IChatManager ChatMgr = default!;

View File

@@ -9,7 +9,7 @@ using Robust.Shared.Timing;
namespace Content.Client.Chat.UI
{
public class HudChatBox : ChatBox
public sealed class HudChatBox : ChatBox
{
// TODO: Revisit the resizing stuff after https://github.com/space-wizards/RobustToolbox/issues/1392 is done,
// Probably not "supposed" to inject IClyde, but I give up.

View File

@@ -166,7 +166,7 @@ namespace Content.Client.Chat.UI
}
}
public class TextSpeechBubble : SpeechBubble
public sealed class TextSpeechBubble : SpeechBubble
{
public TextSpeechBubble(string text, EntityUid senderEntity, IEyeManager eyeManager, IChatManager chatManager, IEntityManager entityManager, string speechStyleClass)