Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Shared.Mobs.Components;
|
||||
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
[Access(typeof(MobThresholdSystem))]
|
||||
public sealed class MobThresholdsComponent : Component
|
||||
public sealed partial class MobThresholdsComponent : Component
|
||||
{
|
||||
[DataField("thresholds", required:true)]
|
||||
public SortedDictionary<FixedPoint2, MobState> Thresholds = new();
|
||||
|
||||
Reference in New Issue
Block a user