nexus

package
v0.5.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FFI   NexusGame = "finalfantasypixelremaster"
	FFII  NexusGame = "finalfantasy2pixelremaster"
	FFIII NexusGame = "finalfantasy3pixelremaster"
	FFIV  NexusGame = "finalfantasy4pixelremaster"
	FFV   NexusGame = "finalfantasy5pixelremaster"
	FFVI  NexusGame = "finalfantasy6pixelremaster"

	IdFFI   NexusGameID = 3934
	IdFFII  NexusGameID = 3958
	IdFFIII NexusGameID = 3942
	IdFFIV  NexusGameID = 4022
	IdFFV   NexusGameID = 4137
	IdFFVI  NexusGameID = 4335

	// NexusFileDownload file_id, NexusGameID
	NexusFileDownload = "https://www.nexusmods.com/Core/Libs/Common/Widgets/DownloadPopUp?id=%d&game_id=%v"
)

Variables

This section is empty.

Functions

func GetModFromNexus

func GetModFromNexus(url string) (found bool, mod *mods.Mod, err error)

func GetModFromNexusByID

func GetModFromNexusByID(game config.Game, id int) (found bool, mod *mods.Mod, err error)

func GetModFromNexusForMod

func GetModFromNexusForMod(in *mods.Mod) (found bool, mod *mods.Mod, err error)

func GetNewestMods

func GetNewestMods(game config.Game, lastID int) (result []*mods.Mod, err error)

func IsNexus

func IsNexus(url string) bool

func NexusGameToGame

func NexusGameToGame(game NexusGame) config.Game

Types

type NexusFile

type NexusFile struct {
	FileID      int    `json:"file_id"`
	Name        string `json:"name"`
	Version     string `json:"version"`
	IsPrimary   bool   `json:"is_primary"`
	FileName    string `json:"file_name"`
	ModVersion  string `json:"mod_version"`
	Description string `json:"description"`
}

type NexusGame

type NexusGame string

func GameToNexusGame

func GameToNexusGame(game config.Game) NexusGame

type NexusGameID

type NexusGameID int

func GameToID

func GameToID(game config.Game) NexusGameID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL