Removed extra comp name attributes (#6449)

This commit is contained in:
wrexbe
2022-02-08 00:42:49 -08:00
committed by GitHub
parent e49d6b05ef
commit 425712adea
54 changed files with 45 additions and 65 deletions

View File

@@ -11,7 +11,6 @@ namespace Content.Shared.Alert;
/// </summary>
[RegisterComponent]
[NetworkedComponent]
[ComponentProtoName("Alerts")]
public class AlertsComponent : Component
{
[ViewVariables] public Dictionary<AlertKey, AlertState> Alerts = new();

View File

@@ -6,7 +6,6 @@ namespace Content.Shared.Camera;
[RegisterComponent]
[NetworkedComponent]
[ComponentProtoName("CameraRecoil")]
public class CameraRecoilComponent : Component
{
public Vector2 CurrentKick { get; set; }

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
@@ -7,7 +7,7 @@ namespace Content.Shared.Follower.Components;
/// <summary>
/// Attached to entities that are currently being followed by a ghost.
/// </summary>
[RegisterComponent, ComponentProtoName("Followed"), Friend(typeof(FollowerSystem))]
[RegisterComponent, Friend(typeof(FollowerSystem))]
public class FollowedComponent : Component
{
public HashSet<EntityUid> Following = new();

View File

@@ -1,9 +1,9 @@
using Robust.Shared.Analyzers;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
namespace Content.Shared.Follower.Components;
[RegisterComponent, ComponentProtoName("Follower")]
[RegisterComponent]
[Friend(typeof(FollowerSystem))]
public class FollowerComponent : Component
{

View File

@@ -14,7 +14,6 @@ namespace Content.Shared.Light.Component;
/// </summary>
[NetworkedComponent]
[RegisterComponent]
[ComponentProtoName("RgbLightController")]
[Friend(typeof(SharedRgbLightControllerSystem))]
public sealed class RgbLightControllerComponent : Robust.Shared.GameObjects.Component
{

View File

@@ -6,7 +6,6 @@ using Robust.Shared.Serialization;
namespace Content.Shared.Light.Component
{
[NetworkedComponent]
[ComponentProtoName("HandheldLight")]
public abstract class SharedHandheldLightComponent : Robust.Shared.GameObjects.Component
{
public const int StatusLevels = 6;

View File

@@ -13,7 +13,6 @@ namespace Content.Shared.PowerCell;
/// </summary>
[NetworkedComponent]
[RegisterComponent]
[ComponentProtoName("PowerCell")]
public sealed class PowerCellComponent : Component
{
public const string SolutionName = "powerCell";

View File

@@ -9,7 +9,7 @@ namespace Content.Shared.Timing
/// <summary>
/// Timer that creates a cooldown each time an object is activated/used
/// </summary>
[RegisterComponent, ComponentProtoName("UseDelay")]
[RegisterComponent]
public sealed class UseDelayComponent : Component
{
[ViewVariables]