Interface IVersionMetadata
Namespace: CmlLib.Core.VersionMetadata
Assembly: CmlLib.Core.dll
Represent version metadata It does not contains actual version data, but contains some metadata and the way to get version data (MVersion)
public interface IVersionMetadata
Extension Methods
Extensions.GetVersionType(IVersionMetadata)
Properties
Name
string Name { get; }
Property Value
ReleaseTime
DateTimeOffset ReleaseTime { get; }
Property Value
Type
string? Type { get; }
Property Value
Methods
GetAndSaveVersionAsync(MinecraftPath, CancellationToken)
Task<IVersion> GetAndSaveVersionAsync(MinecraftPath minecraftPath, CancellationToken cancellationToken = default)
Parameters
minecraftPath MinecraftPath
cancellationToken CancellationToken
Returns
GetVersionAsync(CancellationToken)
Task<IVersion> GetVersionAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken CancellationToken
Returns
SaveVersionAsync(MinecraftPath, CancellationToken)
Task SaveVersionAsync(MinecraftPath minecraftPath, CancellationToken cancellationToken = default)
Parameters
minecraftPath MinecraftPath
cancellationToken CancellationToken