sharedutils/games/minecraftgame/minecraftgame.go

36 lines
725 B
Go
Raw Normal View History

2023-01-24 13:46:17 +00:00
package minecraftgame
2023-02-11 23:33:58 +00:00
import "git.gregbrzezinski.com/Skirda/sharedutils/games/skirdagame"
2023-01-24 13:46:17 +00:00
const gameType = "minecraft"
type MinecraftGame struct {
2023-02-03 18:37:09 +00:00
SkirdaGameId string
Assets skirdagame.GameUIAssets
Versions []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
}