Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -15,7 +15,6 @@ namespace Content.Shared.Construction
|
||||
[DataField("completed", serverOnly: true)]
|
||||
private IGraphAction[] _completed = Array.Empty<IGraphAction>();
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("to", required:true)]
|
||||
public string Target { get; } = string.Empty;
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ namespace Content.Shared.Construction
|
||||
[DataField("edges")]
|
||||
private ConstructionGraphEdge[] _edges = Array.Empty<ConstructionGraphEdge>();
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("node", required: true)]
|
||||
public string Name { get; private set; } = default!;
|
||||
|
||||
@@ -22,7 +21,6 @@ namespace Content.Shared.Construction
|
||||
[ViewVariables]
|
||||
public IReadOnlyList<IGraphAction> Actions => _actions;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("entity")]
|
||||
public string? Entity { get; private set; }
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ namespace Content.Shared.Construction.Prototypes
|
||||
[IdDataFieldAttribute]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("start")]
|
||||
public string? Start { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user