Add versions in minecraft game
This commit is contained in:
parent
ab2afeb177
commit
143eed4221
@ -7,7 +7,8 @@ const gameType = "minecraft"
|
|||||||
type MinecraftGame struct {
|
type MinecraftGame struct {
|
||||||
SkirdaGameId string
|
SkirdaGameId string
|
||||||
Assets skirdagame.GameUIAssets
|
Assets skirdagame.GameUIAssets
|
||||||
// CurrentVersion string
|
Versions []string
|
||||||
|
CurrentVersion string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (game MinecraftGame) GetSkirdaGameId() string {
|
func (game MinecraftGame) GetSkirdaGameId() string {
|
||||||
@ -29,3 +30,11 @@ 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
|
||||||
|
}
|
||||||
|
|
||||||
|
func (game MinecraftGame) GetCurrentVersions() string {
|
||||||
|
return game.CurrentVersion
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user