sharedutils/games/minecraftgame/minecraftgame.go

32 lines
669 B
Go
Raw Normal View History

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