- Some work on PluginManagementService, IAssemblyLoaderService and IAssemblyManagementService refactors.
- Fixed mod list sync not checking for zero package diff length. - Fixed the services provider not being able to inject itself as a dependcency. - Added UseInternalName data spec to ModConfig.xml - Changed Basic.Reference.Assemblies to Net80.
This commit is contained in:
+1
-14
@@ -12,7 +12,7 @@ using OneOf;
|
||||
|
||||
namespace Barotrauma.LuaCs.Services;
|
||||
|
||||
public interface IAssemblyManagementService : IReusableService
|
||||
public interface IAssemblyManagementService : IPluginManagementService
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
@@ -22,17 +22,4 @@ public interface IAssemblyManagementService : IReusableService
|
||||
/// <param name="excludedContexts">Guids of excluded contexts.</param>
|
||||
/// <returns><b>On Success:</b> The assembly. <br/><b>On Failure:</b> nothing.</returns>
|
||||
FluentResults.Result<Assembly> GetLoadedAssembly(OneOf<AssemblyName, string> assemblyName, in Guid[] excludedContexts);
|
||||
|
||||
/// <summary>
|
||||
/// Gets all <see cref="MetadataReference"/> for all service-managed assemblies.
|
||||
/// </summary>
|
||||
/// <returns><see cref="MetadataReference"/> collection for all service-managed, and default if selected, assemblies, if any are found. Returns an empty collection otherwise.</returns>
|
||||
ImmutableArray<MetadataReference> GetDefaultMetadataReferences(bool includeDefaultContext = true);
|
||||
|
||||
/// <summary>
|
||||
/// Returns all active, managed assembly loaders.
|
||||
/// </summary>
|
||||
ImmutableArray<IAssemblyLoaderService> AssemblyLoaderServices { get; }
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user