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

@@ -12,7 +12,7 @@ namespace Content.Server.Construction.Conditions
/// </summary>
[UsedImplicitly]
[DataDefinition]
public sealed class ComponentInTile : IGraphCondition
public sealed partial class ComponentInTile : IGraphCondition
{
/// <summary>
/// If true, any entity on the tile must have the component.
@@ -22,13 +22,13 @@ namespace Content.Server.Construction.Conditions
public bool HasEntity { get; private set; }
[DataField("examineText")]
public string? ExamineText { get; }
public string? ExamineText { get; private set; }
[DataField("guideText")]
public string? GuideText { get; }
public string? GuideText { get; private set; }
[DataField("guideIcon")]
public SpriteSpecifier? GuideIcon { get; }
public SpriteSpecifier? GuideIcon { get; private set; }
/// <summary>
/// The component name in question.