Table of Contents

Class GameFile

Namespace: CmlLib.Core.Files
Assembly: CmlLib.Core.dll

public record GameFile : IEquatable<GameFile>

Inheritance

objectGameFile

Implements

IEquatable<GameFile>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

GameFile(string)

public GameFile(string name)

Parameters

name string

Properties

Hash

public string? Hash { get; init; }

Property Value

string?

Name

public string Name { get; }

Property Value

string

Path

public string? Path { get; init; }

Property Value

string?

Size

public long Size { get; init; }

Property Value

long

UpdateTask

public IEnumerable<IUpdateTask> UpdateTask { get; init; }

Property Value

IEnumerable<IUpdateTask>

Url

public string? Url { get; init; }

Property Value

string?

Methods

ExecuteUpdateTask(CancellationToken)

public ValueTask ExecuteUpdateTask(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

ValueTask