Documentation
¶
Index ¶
- type App
- func (a *App) ClearModCache() error
- func (a *App) DetectGamePath() (string, error)
- func (a *App) DetectLauncherType(path string) aumgr.LauncherType
- func (a *App) ExecuteLaunch(gamePath string, dllDir string) error
- func (a *App) ExportProfile(prof profile.Profile) (string, error)
- func (a *App) GetInstallationStatus(gamePath string, checkUpdates bool) *InstallationInfo
- func (a *App) HandleSharedProfile(uri string) (*profile.Profile, error)
- func (a *App) IsGameRunning() (bool, error)
- func (a *App) PrepareLaunch(gamePath string, profileID uuid.UUID) (string, func() error, error)
- func (a *App) ResolveDependencies(initialMods []modmgr.ModVersion) ([]modmgr.ModVersion, error)
- func (a *App) ResolveProfileDependencies(profileID uuid.UUID) ([]modmgr.ModVersion, error)
- func (a *App) SyncProfile(profileID uuid.UUID, binaryType aumgr.BinaryType, gameVersion string) error
- func (a *App) UninstallMod(gamePath string, progressListener progress.Progress) error
- type InstallStatus
- type InstallationInfo
- type OutdatedMod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Version string
ConfigDir string
Rest rest.Client
ProfileManager *profile.Manager
EpicSessionManager *aumgr.EpicSessionManager
EpicApi *aumgr.EpicApi
// contains filtered or unexported fields
}
func (*App) ClearModCache ¶
func (*App) DetectGamePath ¶
func (*App) DetectLauncherType ¶
func (a *App) DetectLauncherType(path string) aumgr.LauncherType
func (*App) ExecuteLaunch ¶
ExecuteLaunch launches the game and blocks until it exits.
func (*App) GetInstallationStatus ¶
func (a *App) GetInstallationStatus(gamePath string, checkUpdates bool) *InstallationInfo
func (*App) HandleSharedProfile ¶
func (*App) IsGameRunning ¶
func (*App) PrepareLaunch ¶
PrepareLaunch prepares the game for launch by preparing the profile directory.
func (*App) ResolveDependencies ¶
func (a *App) ResolveDependencies(initialMods []modmgr.ModVersion) ([]modmgr.ModVersion, error)
func (*App) ResolveProfileDependencies ¶
ResolveProfileDependencies resolves all required dependencies for the given profile.
func (*App) SyncProfile ¶
func (a *App) SyncProfile(profileID uuid.UUID, binaryType aumgr.BinaryType, gameVersion string) error
SyncProfile forces a re-sync of the profile directory by clearing it and re-installing mods.
type InstallStatus ¶
type InstallStatus int
const ( StatusNotInstalled InstallStatus = iota StatusInstalled StatusBroken StatusIncompatible )
type InstallationInfo ¶
type InstallationInfo struct {
Status InstallStatus
GameVersion string
InstalledGameVersion string
InstalledMods []modmgr.InstalledVersionInfo
OutdatedMods []OutdatedMod
Error error
}
type OutdatedMod ¶
Click to show internal directories.
Click to hide internal directories.