Skip to main content

LibraryDependency

A class in TavernLib, TavernLib.Backend.Mods.

A library a mod build needs in UserLibs, from the build's library_dependencies in its manifest.

Constructors​

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

Properties​

MemberWhat it is
string DownloadUrl { get; private set; }Where to download the library.
string Filename { get; private set; }The file name it's saved as in UserLibs.
string Name { get; private set; }The library's name.
string Sha256 { get; private set; }The file's expected SHA-256, lower-case hex.

Methods​

MemberWhat it is
static LibraryDependency FromJson(JObject d)Parses one entry. Throws ModManagerException for a missing string field or a bad sha256.

Used in​

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