52d920d969
- ContentPackageInfoLookup Service completed. - Implemented ModConfigService.cs - Implemented some of the resource processors.
16 lines
591 B
C#
16 lines
591 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using System.Threading.Tasks;
|
|
using Barotrauma.LuaCs.Data;
|
|
using Barotrauma.LuaCs.Events;
|
|
|
|
namespace Barotrauma.LuaCs.Services;
|
|
|
|
public interface IPackageInfoLookupService : IReusableService
|
|
{
|
|
Task<FluentResults.Result<IPackageInfo>> Lookup(string packageName);
|
|
Task<FluentResults.Result<IPackageInfo>> Lookup(string packageName, ulong steamWorkshopId);
|
|
Task<FluentResults.Result<IPackageInfo>> Lookup(ulong steamWorkshopId);
|
|
Task<FluentResults.Result<IPackageInfo>> Lookup(ContentPackage package);
|
|
void RefreshPackageLists();
|
|
}
|