Documentation ¶
Index ¶
- type API
- func (i *API) DeleteDownloadData(appid int)
- func (i *API) GetGame(appid int) Game
- func (i *API) GetGameHeaderImagePath(appid int) string
- func (i *API) GetGameManifestPath(appid int) string
- func (i *API) GetGamePath(appid int) string
- func (i *API) GetGames() []Game
- func (i *API) LoadGames() (err error)
- func (i *API) LoadManifest(filename string) (game Game, err error)
- func (i *API) SetConfig(config Config) (err error)
- func (i *API) SteamAppsPath() string
- type Config
- type Game
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) DeleteDownloadData ¶
func (*API) GetGameHeaderImagePath ¶
func (*API) GetGameManifestPath ¶
func (*API) GetGamePath ¶
func (*API) SteamAppsPath ¶
type Game ¶
type Game struct { AppID int `acf:"appid" json:"appid"` Name string `acf:"name" json:"name"` StateFlags int `acf:"StateFlags" json:"stateflags"` InstallDir string `acf:"installdir" json:"installdir"` LastUpdated int `acf:"LastUpdated" json:"lastupdated"` UpdateResult int `acf:"UpdateResult" json:"updateresult"` SizeOnDisk int `acf:"SizeOnDisk" json:"sizeondisk"` BuildID string `acf:"buildid" json:"buildid"` BytesToDownload int `acf:"BytesToDownload" json:"bytestodownload"` BytesDownloaded int `acf:"BytesDownloaded" json:"bytesdownloaded"` AutoUpdateBehavior int `acf:"AutoUpdateBehavior" json:"autoupdatebehavior"` }
Click to show internal directories.
Click to hide internal directories.