27 lines
482 B
Go
27 lines
482 B
Go
package gameUtils
|
|
|
|
type SteamGame struct {
|
|
GameId string
|
|
SteamId string
|
|
Args []string
|
|
Assets GameInterfaceAssets
|
|
Platforms map[string]bool
|
|
}
|
|
|
|
type GameInterfaceAssets struct {
|
|
Title string
|
|
Icon string
|
|
Description 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"`
|
|
}
|