Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ using Content.Shared.NPC;
|
||||
|
||||
namespace Content.Client.NPC;
|
||||
|
||||
public abstract class NPCComponent : SharedNPCComponent
|
||||
public abstract partial class NPCComponent : SharedNPCComponent
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user