manager

package
v13.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2018 License: MIT Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(consumer *state.Consumer, installFolder string, runtime *ox.Runtime) (*dash.Verdict, error)

Types

type ClassificationAction

type ClassificationAction string
const (
	ClassificationActionOpen   ClassificationAction = "open"
	ClassificationActionLaunch ClassificationAction = "launch"
)

type NarrowDownUploadsResult

type NarrowDownUploadsResult struct {
	InitialUploads []*itchio.Upload
	Uploads        []*itchio.Upload
	HadWrongFormat bool
	HadWrongArch   bool
}

func NarrowDownUploads

func NarrowDownUploads(consumer *state.Consumer, uploads []*itchio.Upload, game *itchio.Game, runtime *ox.Runtime) *NarrowDownUploadsResult

type Platforms

type Platforms struct {
	Linux   bool
	Windows bool
	OSX     bool
	Android bool
}

func PlatformsForGame

func PlatformsForGame(game *itchio.Game) *Platforms

func PlatformsForUpload

func PlatformsForUpload(upload *itchio.Upload) *Platforms

func (*Platforms) ExclusivityScore

func (p *Platforms) ExclusivityScore(rt *ox.Runtime) int64

ExclusivityScore returns a higher value the closest an upload is to being *only for this platform*

func (*Platforms) IsCompatible

func (p *Platforms) IsCompatible(rt *ox.Runtime) bool

Jump to

Keyboard shortcuts

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