TavernLib.Backend.Mods
Every type in TavernLib.Backend.Mods, from TavernLib's own assembly. See the overview for how these pages are made.
| Type | Kind | Public members | What it is |
|---|---|---|---|
InstalledModInfo | class | 3 | A tracked mod from ModInstaller.ScanMods: its record and whether it's enabled. |
InstalledTarget | class | 3 | What a mod record says is installed for one target. |
LibraryDependency | class | 6 | A library a mod build needs in UserLibs, from the build's library_dependencies in its manifest. |
MelonModFolders | internal static class | 1 | Internal: edits MelonLoader's private list of mod folders at start to match the disk: disabled mods are dropped, and each enabled mod of ours gets this side's build folder (.server or .client_windows). |
ModArtifact | class | 10 | One build of a mod from its manifest: which targets it's for, where to download it and how it's packaged. |
ModDependencyResolver | static class | 1 | Works out every mod a mod needs, from the merged index and fetched manifests, for one target. |
ModHandshake | static class | 1 | The server's mod snapshot for the auth port's ping, mods_list and the join's parity check, cached for 5 seconds. |
ModHandshake.Entry | class | 8 | One server mod in the handshake: what a client needs to match it. |
ModIncompatibility | class | 4 | One entry of a mod source's incompatible list: two mods that don't work together while each is below its below version. Read by ModRepoClient.IncompatibilitiesFrom; the reconciler only warns about a clash, since the host chose both mods. |
ModIndex | class | 8 | Every trusted source's repository.json merged: a list of ModSummary plus the replacements they list. |
ModInstaller | static class | 8 | Installs, verifies, enables and scans the mods in Mods, keeping a record (manifest.json) in each mod folder. Downloads are checked against their SHA-256 and built in a staging folder. |
ModManagerConstants | static class | 10 | Fixed names for the mod manager: the default source, target names and record file names. |
ModManagerException | class | 2 | The exception the mod manager throws for a problem it can describe, such as a bad manifest, a failed download or an unsafe file name. |
ModManifest | class | 14 | One version of one mod, from a source's manifests folder (schema version 2 only). |
ModPaths | static class | 8 | Where the mod manager keeps things under the game folder, with a check that ids and file names can't escape their folder. |
ModReconciler | static class | 2 | Brings Mods in line with a modlist before mods load on a headless server: installs or updates listed mods and their dependencies, and disables unlisted server mods (never deletes). Server. |
ModReconciler.Pass | private class | 2 | Private: one reconcile pass, with its deadline, the fetched index and per-pass verify results. |
ModRecord | class | 17 | A mod folder's record (manifest.json or manifest.disabled.json): the manifest it was installed from plus what's installed per target. Written in the same bytes as the launcher's Python installer writes it. |
ModReplacement | class | 5 | One entry of a source's replaced list: a retired mod id and the mod that takes its place. |
ModRepoClient | class | 8 | Fetches indexes and manifests from the trusted mod sources over NativeHttp. Runs off the main thread. |
ModSummary | class | 7 | One mod's entry in a source's repository.json for one major version: the versions it lists. |
ModVersion | struct | 12 | A mod version, exactly MAJOR.MINOR.PATCH in ASCII digits with no pre-release or build parts, compared by major, minor, then patch. |
ModWithdrawal | class | 5 | One entry of a mod source's withdrawn list: a mod version nothing should install. A server pinned to it gets that major's latest version instead, with a warning. |
UntrackedMod | class | 6 | A DLL or folder in Mods that TavernLib's mod manager didn't install. Never resolved, updated or checked against a player. |