Remove NetMessage deprecated boilerplate (#4196)
This commit is contained in:
@@ -9,14 +9,7 @@ namespace Content.Shared.Preferences
|
||||
/// </summary>
|
||||
public class MsgDeleteCharacter : NetMessage
|
||||
{
|
||||
#region REQUIRED
|
||||
|
||||
public const MsgGroups GROUP = MsgGroups.Command;
|
||||
public const string NAME = nameof(MsgDeleteCharacter);
|
||||
|
||||
public MsgDeleteCharacter(INetChannel channel) : base(NAME, GROUP) { }
|
||||
|
||||
#endregion
|
||||
public override MsgGroups MsgGroup => MsgGroups.Command;
|
||||
|
||||
public int Slot;
|
||||
|
||||
|
||||
@@ -12,14 +12,7 @@ namespace Content.Shared.Preferences
|
||||
/// </summary>
|
||||
public class MsgPreferencesAndSettings : NetMessage
|
||||
{
|
||||
#region REQUIRED
|
||||
|
||||
public const MsgGroups GROUP = MsgGroups.Command;
|
||||
public const string NAME = nameof(MsgPreferencesAndSettings);
|
||||
|
||||
public MsgPreferencesAndSettings(INetChannel channel) : base(NAME, GROUP) { }
|
||||
|
||||
#endregion
|
||||
public override MsgGroups MsgGroup => MsgGroups.Command;
|
||||
|
||||
public PlayerPreferences Preferences = default!;
|
||||
public GameSettings Settings = default!;
|
||||
|
||||
@@ -9,14 +9,7 @@ namespace Content.Shared.Preferences
|
||||
/// </summary>
|
||||
public class MsgSelectCharacter : NetMessage
|
||||
{
|
||||
#region REQUIRED
|
||||
|
||||
public const MsgGroups GROUP = MsgGroups.Command;
|
||||
public const string NAME = nameof(MsgSelectCharacter);
|
||||
|
||||
public MsgSelectCharacter(INetChannel channel) : base(NAME, GROUP) { }
|
||||
|
||||
#endregion
|
||||
public override MsgGroups MsgGroup => MsgGroups.Command;
|
||||
|
||||
public int SelectedCharacterIndex;
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
Reference in New Issue
Block a user