Remove redundant read-only VV from datafields (#12626)

This commit is contained in:
DrSmugleaf
2022-11-16 20:22:11 +01:00
committed by GitHub
parent fb892cb374
commit 7fbc2608e8
179 changed files with 171 additions and 462 deletions

View File

@@ -14,7 +14,6 @@ public sealed class ContainmentFieldGeneratorComponent : SharedContainmentFieldG
/// <summary>
/// Store power with a cap. Decrease over time if not being powered from source.
/// </summary>
[ViewVariables]
[DataField("powerBuffer")]
public int PowerBuffer
{
@@ -46,21 +45,18 @@ public sealed class ContainmentFieldGeneratorComponent : SharedContainmentFieldG
/// <summary>
/// Used to check if it's received power recently.
/// </summary>
[ViewVariables]
[DataField("accumulator")]
public float Accumulator;
/// <summary>
/// How many seconds should the generators wait before losing power?
/// </summary>
[ViewVariables]
[DataField("threshold")]
public float Threshold = 10f;
/// <summary>
/// How many tiles should this field check before giving up?
/// </summary>
[ViewVariables]
[DataField("maxLength")]
public float MaxLength = 8F;
@@ -87,7 +83,6 @@ public sealed class ContainmentFieldGeneratorComponent : SharedContainmentFieldG
/// <summary>
/// The masks the raycast should not go through
/// </summary>
[ViewVariables]
[DataField("collisionMask")]
public int CollisionMask = (int) (CollisionGroup.MobMask | CollisionGroup.Impassable | CollisionGroup.MachineMask | CollisionGroup.Opaque);