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

@@ -12,14 +12,7 @@ namespace Content.Shared.Preferences
/// </summary>
public class MsgUpdateCharacter : NetMessage
{
#region REQUIRED
public const MsgGroups GROUP = MsgGroups.Command;
public const string NAME = nameof(MsgUpdateCharacter);
public MsgUpdateCharacter(INetChannel channel) : base(NAME, GROUP) { }
#endregion
public override MsgGroups MsgGroup => MsgGroups.Command;
public int Slot;
public ICharacterProfile Profile = default!;