Add UsedImplicitly to visualizers and entity systems (#2592)

This commit is contained in:
DrSmugleaf
2020-12-08 11:56:10 +01:00
committed by GitHub
parent d75c22d5e1
commit 2dc05b2275
48 changed files with 102 additions and 45 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using Content.Shared.Chemistry;
using Content.Shared.Kitchen;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.GameObjects.Components.UserInterface;
using Robust.Client.Graphics;
@@ -19,7 +20,8 @@ using Robust.Shared.Prototypes;
namespace Content.Client.GameObjects.Components.Kitchen
{
public class MicrowaveBoundUserInterface : BoundUserInterface
[UsedImplicitly]
public class MicrowaveBoundUserInterface : BoundUserInterface
{
[Dependency] private readonly IEntityManager _entityManager = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

View File

@@ -3,6 +3,7 @@ using Content.Client.GameObjects.Components.Sound;
using Content.Shared.GameObjects.Components.Power;
using Content.Shared.GameObjects.Components.Sound;
using Content.Shared.Kitchen;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Interfaces.GameObjects.Components;
using Robust.Shared.Audio;
@@ -10,6 +11,7 @@ using Robust.Shared.Log;
namespace Content.Client.GameObjects.Components.Kitchen
{
[UsedImplicitly]
public sealed class MicrowaveVisualizer : AppearanceVisualizer
{
public override void OnChangeData(AppearanceComponent component)