Disable warnings that would be refactored anyway (#5047)

This commit is contained in:
Visne
2021-10-27 18:10:40 +02:00
committed by GitHub
parent bd4ab219e3
commit c67160ae19
93 changed files with 302 additions and 5 deletions

View File

@@ -21,7 +21,9 @@ namespace Content.Server.PowerCell.Components
/// </summary>
[RegisterComponent]
[ComponentReference(typeof(BatteryComponent))]
#pragma warning disable 618
public class PowerCellComponent : BatteryComponent, IExamine
#pragma warning restore 618
{
public override string Name => "PowerCell";
public const string SolutionName = "powerCell";

View File

@@ -20,7 +20,9 @@ namespace Content.Server.PowerCell.Components
/// <see cref="PowerCellSize"/>. Intended to supplement other components, not very useful by itself.
/// </summary>
[RegisterComponent]
#pragma warning disable 618
public class PowerCellSlotComponent : Component, IExamine, IMapInit
#pragma warning restore 618
{
public override string Name => "PowerCellSlot";