Skip to main content
Deno 2 is finally here 🎉️
Learn more
class ModLoadOrder
import { ModLoadOrder } from "https://deno.land/x/sptaki@1.2.0/loaders/ModLoadOrder.d.ts";

Constructors

new
ModLoadOrder(logger: ILogger, localisationService: LocalisationService)

Properties

protected
loadOrder: Set<string>
protected
localisationService: LocalisationService
protected
logger: ILogger
protected
mods: Map<string, IPackageJsonData>
protected
modsAvailable: Map<string, IPackageJsonData>

Methods

protected
getLoadOrderRecursive(mod: string, visited: Set<string>): void
protected
invertLoadBefore(mod: string): void
getLoadOrder(): string[]
getModsOnLoadAfter(mod: string): Set<string>
getModsOnLoadBefore(mod: string): Set<string>
setModList(mods: Record<string, IPackageJsonData>): void