2023-02-12 16:43:44 +00:00
|
|
|
package domain
|
2023-01-24 13:46:17 +00:00
|
|
|
|
2023-02-12 16:43:44 +00:00
|
|
|
// const gameType = "minecraft"
|
2023-01-24 13:46:17 +00:00
|
|
|
|
|
|
|
type MinecraftGame struct {
|
2023-02-03 18:37:09 +00:00
|
|
|
SkirdaGameId string
|
2023-02-12 16:43:44 +00:00
|
|
|
Assets GameUIAssets
|
2023-02-03 18:37:09 +00:00
|
|
|
Versions []string
|
2023-01-24 13:46:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (game MinecraftGame) GetSkirdaGameId() string {
|
|
|
|
return game.SkirdaGameId
|
|
|
|
}
|
|
|
|
|
2023-02-12 16:43:44 +00:00
|
|
|
func (game MinecraftGame) GetUIAssets() GameUIAssets {
|
2023-01-24 13:46:17 +00:00
|
|
|
return game.Assets
|
|
|
|
}
|
|
|
|
|
|
|
|
func (game MinecraftGame) GetLaunchArgs() []string {
|
|
|
|
return []string{"", ""}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (game MinecraftGame) GetType() string {
|
2023-02-12 16:43:44 +00:00
|
|
|
return "minecraft"
|
2023-01-24 13:46:17 +00:00
|
|
|
}
|
2023-01-30 06:23:17 +00:00
|
|
|
|
2023-02-12 16:43:44 +00:00
|
|
|
func (game MinecraftGame) GetArguments() Arguments {
|
|
|
|
return Arguments{}
|
2023-01-30 06:23:17 +00:00
|
|
|
}
|
2023-02-03 15:11:13 +00:00
|
|
|
|
|
|
|
func (game MinecraftGame) GetVersions() []string {
|
|
|
|
return game.Versions
|
|
|
|
}
|