7d39c092c6
- Removed IProcessors - Removed old ModConfigService format. - Converting to ContentPath from absolute paths where possible. - Added: Microsoft.Toolkit.Diagnostics package.
16 lines
684 B
C#
16 lines
684 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using System.Xml.Linq;
|
|
using Barotrauma.LuaCs.Data;
|
|
using Barotrauma.LuaCs.Services.Processing;
|
|
|
|
namespace Barotrauma.LuaCs.Services.Processing;
|
|
|
|
public interface IConfigIOService : IReusableService,
|
|
IParserServiceAsync<IConfigResourceInfo, IReadOnlyList<IConfigInfo>>,
|
|
IParserServiceAsync<IConfigProfileResourceInfo, IReadOnlyList<IConfigProfileInfo>>
|
|
{
|
|
Task<FluentResults.Result> SaveConfigDataLocal(ContentPackage package, string configName, XElement serializedValue);
|
|
Task<FluentResults.Result<OneOf.OneOf<string, XElement>>> LoadConfigDataFromLocal(ContentPackage package, string configName);
|
|
}
|