using System; using System.Collections.Immutable; using System.Reflection; using Barotrauma.LuaCs.Data; using Microsoft.CodeAnalysis; namespace Barotrauma.LuaCs.Services; public interface IPluginManagementService : IReusableService { /// /// Checks if the supplied resource is currently loaded. /// /// The resource to check. /// bool IsResourceLoaded(T resource) where T : IAssemblyResourceInfo; /// /// /// /// /// /// /// /// /// /// /// FluentResults.Result> GetTypes( ContentPackage package = null, string namespacePrefix = null, bool includeInterfaces = false, bool includeAbstractTypes = false, bool includeDefaultContext = true, bool includeExplicitAssembliesOnly = false); /// /// /// /// /// FluentResults.Result> GetCachedAssembliesForPackage(ContentPackage package); /// /// /// /// /// Success/Failure and list of failed resources, if any. FluentResults.Result> LoadAssemblyResources(ImmutableArray resource); }