sharedutils/gameUtils/fakeGames.go

48 lines
928 B
Go
Raw Normal View History

2022-10-27 20:31:59 +00:00
package gameUtils
2022-10-26 18:43:21 +00:00
var garrysmodGame = SteamGame{
2022-11-02 19:56:44 +00:00
GameId: "garrysmod",
SteamId: "4000",
2022-11-03 20:12:26 +00:00
Args: []Argument{
Argument{
Body: "+connect",
Value: "127.0.0.1:27015",
},
},
2022-11-02 19:56:44 +00:00
Platforms: map[string]bool{
"linux": true,
"windows": true,
},
2022-10-26 18:43:21 +00:00
Assets: GameInterfaceAssets{
Title: "Garry's Mod",
2022-10-28 15:23:04 +00:00
Icon: "icon.png",
2022-10-26 18:43:21 +00:00
Description: "",
},
}
var openarena = SteamGame{
GameId: "openarena",
SteamId: "",
//Executable: "/usr/games/openarena",
2022-11-03 20:12:26 +00:00
//Args: []string{},
2022-10-26 18:43:21 +00:00
Assets: GameInterfaceAssets{
Title: "Open Arena",
2022-10-28 15:55:39 +00:00
Icon: "icon.png",
2022-10-26 18:43:21 +00:00
Description: "asdadasd",
},
}
2022-10-28 15:55:39 +00:00
var minecraft = SteamGame{
GameId: "minecraft",
SteamId: "",
2022-11-03 20:12:26 +00:00
//Args: []string{},
2022-10-28 15:55:39 +00:00
Assets: GameInterfaceAssets{
Title: "Minecraft",
Icon: "icon.png",
Description: "Minecraft Game",
},
Platforms: map[string]bool{},
}
var SteamFakeGamesList = []SteamGame{garrysmodGame, openarena, minecraft}