Documentation
¶
Index ¶
Constants ¶
View Source
const NeedsDownloadProfileName = "requiem-overhaul"
NeedsDownloadProfileName names the one canned profile (see Load) whose Mods list references an ID absent from InstalledMods, so prototypeProvider.PlanProfileSwitch (actions_provider.go) can produce a NeedsDownloads plan and --prototype mode can demo the refusal state without any core.Service.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct {
Game Game
Profile Profile
Stats Stats
InstalledMods []Mod
SearchResults []Mod
Profiles []Profile
}
Data is the fake, side-effect-free data set used for visual TUI iteration.
type Profile ¶
type Profile struct {
Name string
Active bool
ModCount int
// Mods is optional: installed-mod IDs this profile references, used
// only to seed PlanProfileSwitch's NeedsDownloads demo scenario (see
// NeedsDownloadProfileName below and actions_provider.go's
// prototypeProvider.PlanProfileSwitch). Every other canned profile
// leaves this nil - the alternating Enable/Disable plan logic never
// consults it.
Mods []string
}
Click to show internal directories.
Click to hide internal directories.