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

@@ -1,7 +1,7 @@
namespace Content.Client.NPC.HTN;
[RegisterComponent]
public sealed class HTNComponent : NPCComponent
public sealed partial class HTNComponent : NPCComponent
{
public string DebugText = string.Empty;
}

View File

@@ -2,7 +2,7 @@ using Content.Shared.NPC;
namespace Content.Client.NPC;
public abstract class NPCComponent : SharedNPCComponent
public abstract partial class NPCComponent : SharedNPCComponent
{
}

View File

@@ -3,7 +3,7 @@ using System.Numerics;
namespace Content.Client.NPC;
[RegisterComponent]
public sealed class NPCSteeringComponent : Component
public sealed partial class NPCSteeringComponent : Component
{
/* Not hooked up to the server component as it's used for debugging only.
*/