Class ModUpdateInfo
- Namespace
- McServerLauncher.Models
- Assembly
- McServerLauncher.dll
Everything needed to update an installed mod to its latest Modrinth version.
public record ModUpdateInfo : IEquatable<ModUpdateInfo>
- Inheritance
-
ModUpdateInfo
- Implements
- Inherited Members
Remarks
ProjectId is the store project the update belongs to, so every other copy of that project
can go with the old version. Optional so a caller that does not know it still compiles and still
updates.
Constructors
ModUpdateInfo(string, string, string, string?, string?, string?)
Everything needed to update an installed mod to its latest Modrinth version.
public ModUpdateInfo(string VersionNumber, string Url, string FileName, string? Sha512, string? Sha1, string? ProjectId = null)
Parameters
Remarks
ProjectId is the store project the update belongs to, so every other copy of that project
can go with the old version. Optional so a caller that does not know it still compiles and still
updates.
Properties
FileName
public string FileName { get; init; }
Property Value
ProjectId
public string? ProjectId { get; init; }
Property Value
Sha1
public string? Sha1 { get; init; }
Property Value
Sha512
public string? Sha512 { get; init; }
Property Value
Url
public string Url { get; init; }
Property Value
VersionNumber
public string VersionNumber { get; init; }