sharedutils/gameUtils/fakeGames.go

48 lines
928 B
Go

package gameUtils
var garrysmodGame = SteamGame{
GameId: "garrysmod",
SteamId: "4000",
Args: []Argument{
Argument{
Body: "+connect",
Value: "127.0.0.1:27015",
},
},
Platforms: map[string]bool{
"linux": true,
"windows": true,
},
Assets: GameInterfaceAssets{
Title: "Garry's Mod",
Icon: "icon.png",
Description: "",
},
}
var openarena = SteamGame{
GameId: "openarena",
SteamId: "",
//Executable: "/usr/games/openarena",
//Args: []string{},
Assets: GameInterfaceAssets{
Title: "Open Arena",
Icon: "icon.png",
Description: "asdadasd",
},
}
var minecraft = SteamGame{
GameId: "minecraft",
SteamId: "",
//Args: []string{},
Assets: GameInterfaceAssets{
Title: "Minecraft",
Icon: "icon.png",
Description: "Minecraft Game",
},
Platforms: map[string]bool{},
}
var SteamFakeGamesList = []SteamGame{garrysmodGame, openarena, minecraft}