Fix some warnings relating to fields being unused.

This commit is contained in:
Vera Aguilera Puerto
2021-09-20 11:22:59 +02:00
parent 578ed16b8f
commit cda67df317
12 changed files with 1 additions and 24 deletions

View File

@@ -25,11 +25,9 @@ namespace Content.Client.Inventory
[UsedImplicitly]
public class HumanInventoryInterfaceController : InventoryInterfaceController
{
[Dependency] private readonly IResourceCache _resourceCache = default!;
[Dependency] private readonly IGameHud _gameHud = default!;
[Dependency] private readonly IItemSlotManager _itemSlotManager = default!;
[Dependency] private readonly INetConfigurationManager _configManager = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;
private readonly Dictionary<Slots, List<ItemSlotButton>> _inventoryButtons
= new();
@@ -283,7 +281,6 @@ namespace Content.Client.Inventory
private const int RightSeparation = 2;
public IReadOnlyDictionary<Slots, ItemSlotButton> Buttons { get; }
[Dependency] private readonly IGameHud _gameHud = default!;
public HumanInventoryWindow(IGameHud gameHud)
{