sharedutils/distribution/gameTypes.go

38 lines
674 B
Go

package distribution
type SteamGame struct {
GameId string
SteamId string
Args []Argument
OptionalArgs []Argument
Assets GameInterfaceAssets
Platforms map[string]bool
}
type GameInterfaceAssets struct {
Title string
Icon string
Description string
Backgrounds []GameInterfaceBackground
}
type GameInterfaceBackground struct {
File string
}
type Games struct {
SteamGames []SteamGame
}
type JSGameInterface struct {
GameID string `json:"gameId"`
Title string `json:"title"`
Icon string `json:"icon"`
Description string `json:"description"`
}
type Argument struct {
Body string
Value string
}