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

@@ -1,5 +1,4 @@
using Robust.Shared.Audio;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.Beam.Components;
@@ -12,35 +11,30 @@ public abstract class SharedBeamComponent : Component
/// A unique list of targets that this beam collided with.
/// Useful for code like Arcing in the Lightning Component.
/// </summary>
[ViewVariables]
[DataField("hitTargets")]
public HashSet<EntityUid> HitTargets = new();
/// <summary>
/// The virtual entity representing a beam.
/// </summary>
[ViewVariables]
[DataField("virtualBeamController")]
public EntityUid? VirtualBeamController;
/// <summary>
/// The first beam created, useful for keeping track of chains.
/// </summary>
[ViewVariables]
[DataField("originBeam")]
public EntityUid OriginBeam;
/// <summary>
/// The entity that fired the beam originally
/// </summary>
[ViewVariables]
[DataField("beamShooter")]
public EntityUid BeamShooter;
/// <summary>
/// A unique list of created beams that the controller keeps track of.
/// </summary>
[ViewVariables]
[DataField("createdBeams")]
public HashSet<EntityUid> CreatedBeams = new();