Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user