Compare commits

...

2 Commits

Author SHA1 Message Date
7b3b12987b Add session id to fake game 2022-11-04 03:29:21 +03:00
126835b050 change fake game title 2022-11-04 03:29:10 +03:00
2 changed files with 8 additions and 7 deletions

View File

@ -20,7 +20,7 @@ var openarena = SteamGame{
SteamId: "70", SteamId: "70",
Args: []Argument{}, Args: []Argument{},
Assets: GameInterfaceAssets{ Assets: GameInterfaceAssets{
Title: "Open Arena", Title: "Half Life",
Icon: "icon.png", Icon: "icon.png",
Description: "asdadasd", Description: "asdadasd",
}, },

View File

@ -16,12 +16,13 @@ func ConvertServerSessionsToJSON(s Session) []byte {
var FakeSessions = Sessions{ var FakeSessions = Sessions{
Sessions: []Session{ Sessions: []Session{
{ {
GameId: "garrysmod", GameId: "garrysmod",
Icon: "", SessionId: "gmod-test",
Title: "Regular Skirda Gmod server", Icon: "",
Status: "Super fake session", Title: "Regular Skirda Gmod server",
Version: "", Status: "Super fake session",
Expires: time.Time{}, Version: "",
Expires: time.Time{},
Arguments: []gameUtils.Argument{ Arguments: []gameUtils.Argument{
{ {
Body: "+connect", Body: "+connect",