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 {
|
2023-02-03 15:11:13 +00:00
|
|
|
SkirdaGameId string
|
|
|
|
Assets skirdagame.GameUIAssets
|
|
|
|
Versions []string
|
|
|
|
CurrentVersion string
|
2023-01-24 13:46:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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{}
|
|
|
|
}
|
2023-02-03 15:11:13 +00:00
|
|
|
|
|
|
|
func (game MinecraftGame) GetVersions() []string {
|
|
|
|
return game.Versions
|
|
|
|
}
|
|
|
|
|
|
|
|
func (game MinecraftGame) GetCurrentVersions() string {
|
|
|
|
return game.CurrentVersion
|
|
|
|
}
|