Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -2,7 +2,7 @@ using Content.Server.NPC.Components;
|
||||
|
||||
namespace Content.Server.NPC.HTN.PrimitiveTasks.Operators.Combat;
|
||||
|
||||
public sealed class JukeOperator : HTNOperator, IHtnConditionalShutdown
|
||||
public sealed partial class JukeOperator : HTNOperator, IHtnConditionalShutdown
|
||||
{
|
||||
[Dependency] private readonly IEntityManager _entManager = default!;
|
||||
|
||||
@@ -10,7 +10,7 @@ public sealed class JukeOperator : HTNOperator, IHtnConditionalShutdown
|
||||
public JukeType JukeType = JukeType.AdjacentTile;
|
||||
|
||||
[DataField("shutdownState")]
|
||||
public HTNPlanState ShutdownState { get; } = HTNPlanState.PlanFinished;
|
||||
public HTNPlanState ShutdownState { get; private set; } = HTNPlanState.PlanFinished;
|
||||
|
||||
public override void Startup(NPCBlackboard blackboard)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user