using System; using System.Collections.Generic; using Barotrauma.LuaCs.Data; namespace Barotrauma.LuaCs.Services; public class PackageManagementService : IPackageManagementService, IPluginManagementService { private readonly Func _contentPackageServiceFactory; private readonly Lazy _assemblyManagementService; public PackageManagementService( Func getPackageService, Lazy assemblyManagementService) { this._contentPackageServiceFactory = getPackageService; this._assemblyManagementService = assemblyManagementService; } public void Dispose() { // TODO release managed resources here } public void Reset() { throw new NotImplementedException(); } public bool IsAssemblyLoadedGlobal(string friendlyName) { throw new NotImplementedException(); } public void AddPackages(ref ReadOnlySpan<(ContentPackage, bool)> packages, bool executeImmediately = false, bool errorOnFailures = false, bool errorOnExistingPackageFound = false) { throw new NotImplementedException(); } public void LoadPackages(bool onlyUnloadedPackages = true, bool rescanPackages = false) { throw new NotImplementedException(); } public void UnloadPackages(bool errorOnFailures = true) { throw new NotImplementedException(); } public bool IsPackageLoaded(ContentPackage package) { throw new NotImplementedException(); } public bool CheckDependencyLoaded(IPackageDependencyInfo info) { throw new NotImplementedException(); } public bool CheckDependenciesLoaded(IEnumerable infos, out IReadOnlyList missingPackages) { throw new NotImplementedException(); } public bool CheckEnvironmentSupported(IPlatformInfo platform) { throw new NotImplementedException(); } }