fixed up config enums
This commit is contained in:
@@ -31,7 +31,7 @@ public class DialogueController
|
||||
_configServer = configServer;
|
||||
_saveServer = saveServer;
|
||||
|
||||
_coreConfig = _configServer.GetConfig<CoreConfig>(ConfigTypes.CORE);
|
||||
_coreConfig = _configServer.GetConfig<CoreConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -89,7 +89,7 @@ public class HideoutController
|
||||
_cloner = cloner;
|
||||
_configServer = configServer;
|
||||
|
||||
_hideoutConfig = _configServer.GetConfig<HideoutConfig>(ConfigTypes.HIDEOUT);
|
||||
_hideoutConfig = _configServer.GetConfig<HideoutConfig>();
|
||||
}
|
||||
|
||||
public void StartUpgrade(PmcData pmcData, HideoutUpgradeRequestData info, string sessionId, ItemEventRouterResponse output)
|
||||
|
||||
@@ -77,8 +77,8 @@ public class BotGenerator
|
||||
_configServer = configServer;
|
||||
_cloner = cloner;
|
||||
|
||||
_botConfig = _configServer.GetConfig<BotConfig>(ConfigTypes.BOT);
|
||||
_pmcConfig = _configServer.GetConfig<PmcConfig>(ConfigTypes.PMC);
|
||||
_botConfig = _configServer.GetConfig<BotConfig>();
|
||||
_pmcConfig = _configServer.GetConfig<PmcConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -17,7 +17,7 @@ public class BotGeneratorHelper
|
||||
)
|
||||
{
|
||||
_configServer = configServer;
|
||||
_pmcConfig = _configServer.GetConfig<PmcConfig>(ConfigTypes.PMC);
|
||||
_pmcConfig = _configServer.GetConfig<PmcConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -36,8 +36,8 @@ public class BotHelper
|
||||
_databaseService = databaseService;
|
||||
_randomUtil = randomUtil;
|
||||
_configServer = configServer;
|
||||
_botConfig = configServer.GetConfig<BotConfig>(ConfigTypes.BOT);
|
||||
_pmcConfig = configServer.GetConfig<PmcConfig>(ConfigTypes.PMC);
|
||||
_botConfig = configServer.GetConfig<BotConfig>();
|
||||
_pmcConfig = configServer.GetConfig<PmcConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -18,7 +18,7 @@ public class BotEquipmentFilterService
|
||||
{
|
||||
_configServer = configServer;
|
||||
|
||||
_botConfig = _configServer.GetConfig<BotConfig>(ConfigTypes.BOT);
|
||||
_botConfig = _configServer.GetConfig<BotConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -38,7 +38,7 @@ public class BotNameService
|
||||
_databaseService = databaseService;
|
||||
_configServer = configServer;
|
||||
|
||||
_botConfig = _configServer.GetConfig<BotConfig>(ConfigTypes.BOT);
|
||||
_botConfig = _configServer.GetConfig<BotConfig>();
|
||||
_usedNameCache = new HashSet<string>();
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ public class ItemFilterService
|
||||
_databaseServer = databaseServer;
|
||||
_configServer = configServer;
|
||||
|
||||
_itemConfig = _configServer.GetConfig<ItemConfig>(ConfigTypes.ITEM);
|
||||
_itemConfig = _configServer.GetConfig<ItemConfig>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -84,11 +84,11 @@ public class SeasonalEventService
|
||||
_profileHelper = profileHelper;
|
||||
_configServer = configServer;
|
||||
|
||||
_seasonalEventConfig = _configServer.GetConfig<SeasonalEventConfig>(ConfigTypes.SEASONAL_EVENT);
|
||||
_questConfig = _configServer.GetConfig<QuestConfig>(ConfigTypes.QUEST);
|
||||
_httpConfig = _configServer.GetConfig<HttpConfig>(ConfigTypes.HTTP);
|
||||
_weatherConfig = _configServer.GetConfig<WeatherConfig>(ConfigTypes.WEATHER);
|
||||
_locationConfig = _configServer.GetConfig<LocationConfig>(ConfigTypes.LOCATION);
|
||||
_seasonalEventConfig = _configServer.GetConfig<SeasonalEventConfig>();
|
||||
_questConfig = _configServer.GetConfig<QuestConfig>();
|
||||
_httpConfig = _configServer.GetConfig<HttpConfig>();
|
||||
_weatherConfig = _configServer.GetConfig<WeatherConfig>();
|
||||
_locationConfig = _configServer.GetConfig<LocationConfig>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user