Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user