Removed extra comp name attributes (#6449)
This commit is contained in:
@@ -11,7 +11,6 @@ namespace Content.Shared.Alert;
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent]
|
||||
[ComponentProtoName("Alerts")]
|
||||
public class AlertsComponent : Component
|
||||
{
|
||||
[ViewVariables] public Dictionary<AlertKey, AlertState> Alerts = new();
|
||||
|
||||
@@ -6,7 +6,6 @@ namespace Content.Shared.Camera;
|
||||
|
||||
[RegisterComponent]
|
||||
[NetworkedComponent]
|
||||
[ComponentProtoName("CameraRecoil")]
|
||||
public class CameraRecoilComponent : Component
|
||||
{
|
||||
public Vector2 CurrentKick { get; set; }
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace Content.Shared.PowerCell;
|
||||
/// </summary>
|
||||
[NetworkedComponent]
|
||||
[RegisterComponent]
|
||||
[ComponentProtoName("PowerCell")]
|
||||
public sealed class PowerCellComponent : Component
|
||||
{
|
||||
public const string SolutionName = "powerCell";
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user