steam

package
v0.0.0-...-d3234e5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrImageNotFound = errors.New("image not found")

ErrImageNotFound indicates that a grid images does not exist.

Functions

func GetBaseDir

func GetBaseDir() (string, error)

GetSteamDir will return the base steam config directory

func GetImageHero

func GetImageHero(user, appId string) (string, error)

GetImageHero will return the hero grid image

func GetImageLandscape

func GetImageLandscape(user, appId string) (string, error)

GetImageLandscape will return the landscape grid image

func GetImageLogo(user, appId string) (string, error)

GetImageLogo will return the logo grid image

func GetImagePortrait

func GetImagePortrait(user, appId string) (string, error)

GetImagePortrait will return the portrait grid image

func GetImagesDir

func GetImagesDir(user string) (string, error)

GetImagesDir will return the steam images directory

func GetShortcutsPath

func GetShortcutsPath(user string) (string, error)

GetShortcutsPath will return the path to the shortcuts file for the given user.

func GetUserDir

func GetUserDir() (string, error)

GetSteamUserDir will return the steam userdata directory

func GetUsers

func GetUsers() ([]string, error)

GetUsers will return a list of steam user ids

func HasShortcuts

func HasShortcuts(user string) bool

Whether or not the user has a shortcuts file

Types

This section is empty.

Jump to

Keyboard shortcuts

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