Remove NetMessage deprecated boilerplate (#4196)

This commit is contained in:
mirrorcult
2021-06-20 22:43:54 -07:00
committed by GitHub
parent 64813d9c56
commit 2ea5aec101
37 changed files with 73 additions and 229 deletions

View File

@@ -13,13 +13,7 @@ namespace Content.Shared.Chat
[UsedImplicitly]
public sealed class MsgChatMessage : NetMessage
{
#region REQUIRED
public const MsgGroups GROUP = MsgGroups.Command;
public const string NAME = nameof(MsgChatMessage);
public MsgChatMessage(INetChannel channel) : base(NAME, GROUP) { }
#endregion
public override MsgGroups MsgGroup => MsgGroups.Command;
/// <summary>
/// The channel the message is on. This can also change whether certain params are used.