using System; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using Barotrauma.LuaCs.Data; using Barotrauma.LuaCs.Services.Processing; namespace Barotrauma.LuaCs.Services; public partial class PackageService : IStylesResourcesInfo { private readonly Lazy _stylesService; public IStylesService Styles => _stylesService.Value; public PackageService( Lazy configParserService, Lazy luaScriptService, Lazy localizationService, Lazy pluginService, Lazy stylesService, Lazy configService, IPackageManagementService packageManagementService, IStorageService storageService, ILoggerService loggerService) { _configParserService = configParserService; _luaScriptService = luaScriptService; _localizationService = localizationService; _pluginService = pluginService; _stylesService = stylesService; _configService = configService; _packageManagementService = packageManagementService; _storageService = storageService; _loggerService = loggerService; } public ImmutableArray StylesResourceInfos => ModConfigInfo?.StylesResourceInfos ?? ImmutableArray.Empty; public FluentResults.Result LoadStyles([NotNull]IStylesResourcesInfo stylesInfo) { throw new NotImplementedException(); } }