Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -19,7 +19,6 @@ namespace Content.Server.Destructible.Thresholds
|
||||
/// <summary>
|
||||
/// Whether or not this threshold has already been triggered.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("triggered")]
|
||||
public bool Triggered { get; private set; }
|
||||
|
||||
@@ -29,14 +28,12 @@ namespace Content.Server.Destructible.Thresholds
|
||||
/// and then damaged to reach this threshold once again.
|
||||
/// It will not repeatedly trigger as damage rises beyond that.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("triggersOnce")]
|
||||
public bool TriggersOnce { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The trigger that decides if this threshold has been reached.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[DataField("trigger")]
|
||||
public IThresholdTrigger? Trigger { get; set; }
|
||||
|
||||
|
||||
@@ -4,11 +4,9 @@
|
||||
[DataDefinition]
|
||||
public struct MinMax
|
||||
{
|
||||
[ViewVariables]
|
||||
[DataField("min")]
|
||||
public int Min;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("max")]
|
||||
public int Max;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user