sharedutils/games/steamgame/steamgame.go

34 lines
685 B
Go
Raw Normal View History

2023-01-24 13:46:17 +00:00
package steamgame
import "git.gregbrzezinski.com/Skirda/skirdaGoLauncher/sharedutils/games/skirdagame"
const gameType = "steam"
type SteamGame struct {
SkirdaGameId string
SteamId string
Assets skirdagame.GameUIAssets
2023-01-30 06:23:17 +00:00
Arguments skirdagame.Arguments
2023-01-24 13:46:17 +00:00
// CurrentVersion string
}
func (game SteamGame) GetSkirdaGameId() string {
return game.SkirdaGameId
}
2023-01-30 04:43:46 +00:00
func (game SteamGame) GetUIAssets() skirdagame.GameUIAssets {
2023-01-24 13:46:17 +00:00
return game.Assets
}
func (game SteamGame) GetLaunchArgs() []string {
return []string{"", ""}
}
func (game SteamGame) GetType() string {
return gameType
}
2023-01-30 06:23:17 +00:00
func (game SteamGame) GetArguments() skirdagame.Arguments {
return game.Arguments
}