2022-10-27 20:31:39 +00:00
|
|
|
package gameUtils
|
2022-10-27 18:05:45 +00:00
|
|
|
|
|
|
|
type SteamGame struct {
|
|
|
|
GameId string
|
|
|
|
SteamId string
|
|
|
|
Args []string
|
|
|
|
Assets GameInterfaceAssets
|
|
|
|
Platforms map[string]bool
|
|
|
|
}
|
|
|
|
|
|
|
|
type GameInterfaceAssets struct {
|
|
|
|
Title string
|
2022-10-28 15:23:04 +00:00
|
|
|
Icon string
|
2022-10-27 18:05:45 +00:00
|
|
|
Description string
|
|
|
|
}
|
|
|
|
|
|
|
|
type Games struct {
|
|
|
|
SteamGames []SteamGame
|
|
|
|
}
|
|
|
|
|
|
|
|
type JSGameInterface struct {
|
|
|
|
GameID string `json:"gameId"`
|
|
|
|
Title string `json:"title"`
|
2022-10-28 15:23:04 +00:00
|
|
|
Icon string `json:"icon"`
|
2022-10-27 18:05:45 +00:00
|
|
|
Description string `json:"description"`
|
|
|
|
}
|