Compare commits

...

2 Commits

Author SHA1 Message Date
618b0b1639 Add fields in minecraft game 2023-02-03 21:37:09 +03:00
143eed4221 Add versions in minecraft game 2023-02-03 18:11:13 +03:00

View File

@ -7,7 +7,7 @@ const gameType = "minecraft"
type MinecraftGame struct { type MinecraftGame struct {
SkirdaGameId string SkirdaGameId string
Assets skirdagame.GameUIAssets Assets skirdagame.GameUIAssets
// CurrentVersion string Versions []string
} }
func (game MinecraftGame) GetSkirdaGameId() string { func (game MinecraftGame) GetSkirdaGameId() string {
@ -29,3 +29,7 @@ func (game MinecraftGame) GetType() string {
func (game MinecraftGame) GetArguments() skirdagame.Arguments { func (game MinecraftGame) GetArguments() skirdagame.Arguments {
return skirdagame.Arguments{} return skirdagame.Arguments{}
} }
func (game MinecraftGame) GetVersions() []string {
return game.Versions
}