This commit is contained in:
wrexbe
2022-02-01 19:35:40 -08:00
committed by GitHub
parent fa8a7e609a
commit 17db0775c8
436 changed files with 20 additions and 828 deletions

View File

@@ -11,8 +11,6 @@ namespace Content.Client.Animations
[RegisterComponent]
public sealed class AnimationsTestComponent : Component
{
public override string Name => "AnimationsTest";
protected override void Initialize()
{
base.Initialize();

View File

@@ -13,8 +13,6 @@ namespace Content.Client.CharacterInfo.Components
[RegisterComponent]
public sealed class CharacterInfoComponent : Component, ICharacterUI
{
public override string Name => "CharacterInfo";
public CharacterInfoControl Control = default!;
public Control Scene { get; set; } = default!;

View File

@@ -14,8 +14,6 @@ namespace Content.Client.CharacterInterface
[RegisterComponent]
public class CharacterInterfaceComponent : Component
{
public override string Name => "Character Interface Component";
/// <summary>
/// Window to hold each of the character interfaces
/// </summary>

View File

@@ -14,8 +14,6 @@ namespace Content.Client.Clickable
[RegisterComponent]
public sealed class ClickableComponent : Component
{
public override string Name => "Clickable";
[Dependency] private readonly IClickMapManager _clickMapManager = default!;
[ViewVariables] [DataField("bounds")] private DirBoundData? _data;

View File

@@ -13,8 +13,6 @@ namespace Content.Client.Clothing
[NetworkedComponent()]
public class ClothingComponent : ItemComponent
{
public override string Name => "Clothing";
[ViewVariables(VVAccess.ReadWrite)]
[DataField("femaleMask")]
public FemaleClothingMask FemaleMask { get; } = FemaleClothingMask.UniformFull;

View File

@@ -7,8 +7,6 @@ namespace Content.Client.Construction
[RegisterComponent]
public class ConstructionGhostComponent : Component
{
public override string Name => "ConstructionGhost";
[ViewVariables] public ConstructionPrototype? Prototype { get; set; }
[ViewVariables] public int GhostId { get; set; }
}

View File

@@ -13,8 +13,6 @@ namespace Content.Client.Damage
[RegisterComponent]
public class DamageVisualizerDataComponent : Component
{
public override string Name => "DamageVisualizerData";
public List<object> TargetLayerMapKeys = new();
public bool Disabled = false;
public bool Valid = true;

View File

@@ -13,8 +13,6 @@ namespace Content.Client.DoAfter
[RegisterComponent]
public sealed class DoAfterComponent : SharedDoAfterComponent
{
public override string Name => "DoAfter";
public IReadOnlyDictionary<byte, ClientDoAfter> DoAfters => _doAfters;
private readonly Dictionary<byte, ClientDoAfter> _doAfters = new();

View File

@@ -32,8 +32,6 @@ namespace Content.Client.IconSmoothing
[DataField("mode")]
private IconSmoothingMode _mode = IconSmoothingMode.Corners;
public override string Name => "IconSmooth";
internal ISpriteComponent? Sprite { get; private set; }
public (GridId, Vector2i)? LastPosition;

View File

@@ -15,9 +15,6 @@ namespace Content.Client.Interactable.Components
private const float DefaultWidth = 1;
private const string ShaderInRange = "SelectionOutlineInrange";
private const string ShaderOutOfRange = "SelectionOutline";
public override string Name => "InteractionOutline";
private bool _inRange;
private ShaderInstance? _shader;
private int _lastRenderScale;

View File

@@ -5,8 +5,5 @@ namespace Content.Client.Items.Components
[RegisterComponent]
public class ItemStatusComponent : Component
{
public override string Name => "ItemStatus";
}
}

View File

@@ -7,8 +7,6 @@ namespace Content.Client.Markers
[RegisterComponent]
public sealed class MarkerComponent : Component
{
public override string Name => "Marker";
protected override void Startup()
{
base.Startup();

View File

@@ -9,12 +9,11 @@ namespace Content.Client.Spawners
/// Spawns a set of entities on the client only, and removes them when this component is removed.
/// </summary>
[RegisterComponent]
[ComponentProtoName("ClientEntitySpawner")]
public class ClientEntitySpawnerComponent : Component
{
[Dependency] private readonly IEntityManager _entMan = default!;
public override string Name => "ClientEntitySpawner";
[DataField("prototypes")] private List<string> _prototypes = new() { "HVDummyWire" };
private readonly List<EntityUid> _entity = new();

View File

@@ -16,8 +16,6 @@ namespace Content.Client.Tools.Components
[RegisterComponent, Friend(typeof(ToolSystem), typeof(StatusControl))]
public class WelderComponent : SharedWelderComponent, IItemStatus
{
public override string Name => "Welder";
[ViewVariables(VVAccess.ReadWrite)]
public bool UiUpdateNeeded { get; set; }

View File

@@ -11,8 +11,6 @@ namespace Content.Client.Wall.Components
[ComponentReference(typeof(IconSmoothComponent))]
public class ReinforcedWallComponent : IconSmoothComponent // whyyyyyyyyy
{
public override string Name => "ReinforcedWall";
[ViewVariables(VVAccess.ReadWrite)]
[DataField("reinforcedBase")]
private string? _reinforcedStateBase = default;

View File

@@ -8,8 +8,6 @@ namespace Content.Client.Weapons.Melee.Components
[RegisterComponent]
public sealed class MeleeLungeComponent : Component
{
public override string Name => "MeleeLunge";
private const float ResetTime = 0.3f;
private const float BaseOffset = 0.25f;

View File

@@ -11,9 +11,6 @@ namespace Content.Client.Weapons.Melee.Components
public sealed class MeleeWeaponArcAnimationComponent : Component
{
[Dependency] private readonly IEntityManager _entMan = default!;
public override string Name => "MeleeWeaponArcAnimation";
private MeleeWeaponAnimationPrototype? _meleeWeaponAnimation;
private float _timer;

View File

@@ -19,8 +19,6 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
[NetworkedComponent()]
public class ClientBatteryBarrelComponent : Component, IItemStatus
{
public override string Name => "BatteryBarrel";
private StatusControl? _statusControl;
/// <summary>

View File

@@ -19,8 +19,6 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
[NetworkedComponent()]
public class ClientBoltActionBarrelComponent : Component, IItemStatus
{
public override string Name => "BoltActionBarrel";
private StatusControl? _statusControl;
/// <summary>

View File

@@ -67,9 +67,6 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
}
}
};
public override string Name => "MagazineBarrel";
private StatusControl? _statusControl;
/// <summary>

View File

@@ -19,8 +19,6 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
[NetworkedComponent()]
public class ClientPumpBarrelComponent : Component, IItemStatus
{
public override string Name => "PumpBarrel";
private StatusControl? _statusControl;
/// <summary>

View File

@@ -17,8 +17,6 @@ namespace Content.Client.Weapons.Ranged.Barrels.Components
[NetworkedComponent()]
public class ClientRevolverBarrelComponent : Component, IItemStatus
{
public override string Name => "RevolverBarrel";
private StatusControl? _statusControl;
/// <summary>