Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Content.Server.NodeContainer
|
||||
public sealed class NodeContainerComponent : Component
|
||||
{
|
||||
//HACK: THIS BEING readOnly IS A FILTHY HACK AND I HATE IT --moony
|
||||
[DataField("nodes", readOnly: true)] [ViewVariables] public Dictionary<string, Node> Nodes { get; } = new();
|
||||
[DataField("nodes", readOnly: true)] public Dictionary<string, Node> Nodes { get; } = new();
|
||||
|
||||
[DataField("examinable")] public bool Examinable = false;
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ namespace Content.Server.NodeContainer.Nodes
|
||||
/// An ID used as a criteria for combining into groups. Determines which <see cref="INodeGroup"/>
|
||||
/// implementation is used as a group, detailed in <see cref="INodeGroupFactory"/>.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("nodeGroupID")]
|
||||
public NodeGroupID NodeGroupID { get; private set; } = NodeGroupID.Default;
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@ namespace Content.Server.NodeContainer.Nodes
|
||||
/// <summary>
|
||||
/// The directions in which this pipe can connect to other pipes around it.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("pipeDirection")]
|
||||
private PipeDirection _originalPipeDirection;
|
||||
|
||||
@@ -97,7 +96,6 @@ namespace Content.Server.NodeContainer.Nodes
|
||||
}
|
||||
}
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("volume")]
|
||||
public float Volume { get; set; } = DefaultVolume;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user