Removed unused injections from controllers
This commit is contained in:
@@ -24,7 +24,6 @@ public class HealthController(
|
||||
InventoryHelper _inventoryHelper,
|
||||
ServerLocalisationService _serverLocalisationService,
|
||||
HttpResponseUtil _httpResponseUtil,
|
||||
HealthHelper _healthHelper,
|
||||
ICloner _cloner
|
||||
)
|
||||
{
|
||||
|
||||
@@ -25,8 +25,6 @@ namespace SPTarkov.Server.Core.Controllers;
|
||||
public class InsuranceController(
|
||||
ISptLogger<InsuranceController> _logger,
|
||||
RandomUtil _randomUtil,
|
||||
MathUtil _mathUtil,
|
||||
HashUtil _hashUtil,
|
||||
TimeUtil _timeUtil,
|
||||
EventOutputHolder _eventOutputHolder,
|
||||
ItemHelper _itemHelper,
|
||||
|
||||
@@ -19,15 +19,11 @@ namespace SPTarkov.Server.Core.Controllers;
|
||||
[Injectable]
|
||||
public class InventoryController(
|
||||
ISptLogger<InventoryController> _logger,
|
||||
HashUtil _hashUtil,
|
||||
RandomUtil _randomUtil,
|
||||
HttpResponseUtil _httpResponseUtil,
|
||||
PresetHelper _presetHelper,
|
||||
InventoryHelper _inventoryHelper,
|
||||
QuestHelper _questHelper,
|
||||
HideoutHelper _hideoutHelper,
|
||||
ProfileHelper _profileHelper,
|
||||
PaymentHelper _paymentHelper,
|
||||
TraderHelper _traderHelper,
|
||||
ItemHelper _itemHelper,
|
||||
DatabaseService _databaseService,
|
||||
|
||||
@@ -5,7 +5,6 @@ using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
using SPTarkov.Server.Core.Models.Eft.Location;
|
||||
using SPTarkov.Server.Core.Models.Utils;
|
||||
using SPTarkov.Server.Core.Services;
|
||||
using SPTarkov.Server.Core.Utils.Cloners;
|
||||
using LogLevel = SPTarkov.Server.Core.Models.Spt.Logging.LogLevel;
|
||||
|
||||
namespace SPTarkov.Server.Core.Controllers;
|
||||
@@ -14,8 +13,7 @@ namespace SPTarkov.Server.Core.Controllers;
|
||||
public class LocationController(
|
||||
ISptLogger<LocationController> _logger,
|
||||
DatabaseService _databaseService,
|
||||
AirdropService _airdropService,
|
||||
ICloner _cloner
|
||||
AirdropService _airdropService
|
||||
)
|
||||
{
|
||||
/// <summary>
|
||||
|
||||
@@ -5,7 +5,6 @@ using SPTarkov.Server.Core.Models.Spt.Config;
|
||||
using SPTarkov.Server.Core.Models.Utils;
|
||||
using SPTarkov.Server.Core.Servers;
|
||||
using SPTarkov.Server.Core.Services;
|
||||
using SPTarkov.Server.Core.Utils.Cloners;
|
||||
using static SPTarkov.Server.Core.Services.MatchLocationService;
|
||||
|
||||
namespace SPTarkov.Server.Core.Controllers;
|
||||
@@ -17,8 +16,7 @@ public class MatchController(
|
||||
ConfigServer _configServer,
|
||||
LocationLifecycleService _locationLifecycleService,
|
||||
ProfileActivityService _profileActivityService,
|
||||
WeatherHelper _weatherHelper,
|
||||
ICloner _cloner
|
||||
WeatherHelper _weatherHelper
|
||||
)
|
||||
{
|
||||
protected readonly MatchConfig _matchConfig = _configServer.GetConfig<MatchConfig>();
|
||||
|
||||
@@ -20,7 +20,6 @@ public class QuestController(
|
||||
TimeUtil _timeUtil,
|
||||
HttpResponseUtil _httpResponseUtil,
|
||||
EventOutputHolder _eventOutputHolder,
|
||||
ItemHelper _itemHelper,
|
||||
MailSendService _mailSendService,
|
||||
QuestHelper _questHelper,
|
||||
QuestRewardHelper _questRewardHelper,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using SPTarkov.DI.Annotations;
|
||||
using SPTarkov.Server.Core.Generators;
|
||||
using SPTarkov.Server.Core.Helpers;
|
||||
using SPTarkov.Server.Core.Models.Eft.Weather;
|
||||
using SPTarkov.Server.Core.Models.Enums;
|
||||
using SPTarkov.Server.Core.Models.Spt.Config;
|
||||
@@ -17,7 +16,6 @@ public class WeatherController(
|
||||
WeatherGenerator _weatherGenerator,
|
||||
SeasonalEventService _seasonalEventService,
|
||||
RaidWeatherService _raidWeatherService,
|
||||
WeatherHelper _weatherHelper,
|
||||
ConfigServer _configServer
|
||||
)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user