Skip to main content

ModSummary

A class in TavernLib, TavernLib.Backend.Mods.

One mod's entry in a source's repository.json for one major version: the versions it lists.

Constructors​

MemberWhat it is
ModSummary()Created by TavernLib; mods don't make one.

Properties​

MemberWhat it is
ModVersion Highest { get; private set; }The highest listed version.
string Id { get; private set; }The mod id.
int Major { get; }The major version this entry is for, from Highest.
string SourceRepo { get; private set; }The source the index came from.
List<string> Versions { get; private set; }Every valid version listed, as text.

Methods​

MemberWhat it is
static ModSummary FromJson(JObject d, string modId, string sourceRepo)Parses one entry. null (with a warning) with no versions list, no valid version or no parity_required. Bad versions are skipped.

Used in​

Members of other types that take, return or hold a ModSummary: