Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -6,10 +6,10 @@ namespace Content.Server.Construction.Conditions
|
||||
{
|
||||
[UsedImplicitly]
|
||||
[DataDefinition]
|
||||
public sealed class AllConditions : IGraphCondition
|
||||
public sealed partial class AllConditions : IGraphCondition
|
||||
{
|
||||
[DataField("conditions")]
|
||||
public IGraphCondition[] Conditions { get; } = Array.Empty<IGraphCondition>();
|
||||
public IGraphCondition[] Conditions { get; private set; } = Array.Empty<IGraphCondition>();
|
||||
|
||||
public bool Condition(EntityUid uid, IEntityManager entityManager)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user