Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user