Files
LuaCsForBarotraumaEP/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Services/PackageManagementService.cs
T
MapleWheels 01cc1d331b -- Squash:
- In progress implementation of services model.
2026-02-07 20:10:04 -05:00

72 lines
2.0 KiB
C#

using System;
using System.Collections.Generic;
using Barotrauma.LuaCs.Data;
namespace Barotrauma.LuaCs.Services;
public class PackageManagementService : IPackageManagementService, IPluginManagementService
{
private readonly Func<IPackageService> _contentPackageServiceFactory;
private readonly Lazy<IAssemblyManagementService> _assemblyManagementService;
public PackageManagementService(
Func<IPackageService> getPackageService,
Lazy<IAssemblyManagementService> 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<IPackageDependencyInfo> infos, out IReadOnlyList<IPackageDependencyInfo> missingPackages)
{
throw new NotImplementedException();
}
public bool CheckEnvironmentSupported(IPlatformInfo platform)
{
throw new NotImplementedException();
}
}