Refactor serialization copying to use source generators (#19412)

This commit is contained in:
DrSmugleaf
2023-08-22 18:14:33 -07:00
committed by GitHub
parent 08b43990ab
commit a88e747a0b
1737 changed files with 2532 additions and 2521 deletions

View File

@@ -6,7 +6,7 @@ namespace Content.Shared.Nuke;
/// Used for tracking the nuke disk - isn't a tag for pinpointer purposes.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed class NukeDiskComponent : Component
public sealed partial class NukeDiskComponent : Component
{
}

View File

@@ -2,7 +2,7 @@ using Robust.Shared.Serialization;
namespace Content.Shared.Nuke
{
public abstract class SharedNukeComponent : Component
public abstract partial class SharedNukeComponent : Component
{
public const string NukeDiskSlotId = "Nuke";
}

View File

@@ -32,7 +32,7 @@ namespace Content.Shared.Nuke
}
[Serializable, NetSerializable]
public sealed class NukeDisarmDoAfterEvent : SimpleDoAfterEvent
public sealed partial class NukeDisarmDoAfterEvent : SimpleDoAfterEvent
{
}
}