sharedutils/gameUtils/gameTypes.go

27 lines
483 B
Go
Raw Normal View History

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
Image string
Description string
}
type Games struct {
SteamGames []SteamGame
}
type JSGameInterface struct {
GameID string `json:"gameId"`
Title string `json:"title"`
Image string `json:"image"`
Description string `json:"description"`
}