using FFXIVClientStructs.FFXIV.Component.GUI;
using LLib.GameUI;
using LLib.Shop;
+using LLib.Shop.Model;
using Microsoft.Extensions.Logging;
using Questionable.Model.Questing;
-using Workshoppa.GameData.Shops;
using ValueType = FFXIVClientStructs.FFXIV.Component.GUI.ValueType;
namespace Questionable.Controller.GameUi;
{
foreach (var expansionFolder in ExpansionData.ExpansionFolders.Values)
LoadFromDirectory(
- new DirectoryInfo(Path.Combine(pathProjectDirectory.FullName, expansionFolder)),
- LogLevel.Trace);
+ new DirectoryInfo(Path.Combine(pathProjectDirectory.FullName, expansionFolder)));
}
catch (Exception e)
{
_gatheringPoints[gatheringPointId] = JsonSerializer.Deserialize<GatheringRoot>(stream)!;
}
- private void LoadFromDirectory(DirectoryInfo directory, LogLevel logLevel = LogLevel.Information)
+ private void LoadFromDirectory(DirectoryInfo directory)
{
if (!directory.Exists)
{
return;
}
- //_logger.Log(logLevel, "Loading gathering points from {DirectoryName}", directory);
foreach (FileInfo fileInfo in directory.GetFiles("*.json"))
{
try
}
foreach (DirectoryInfo childDirectory in directory.GetDirectories())
- LoadFromDirectory(childDirectory, logLevel);
+ LoadFromDirectory(childDirectory);
}
private static GatheringPointId? ExtractGatheringPointIdFromName(string resourceName)