Add fields in minecraft game
This commit is contained in:
parent
143eed4221
commit
618b0b1639
@ -5,10 +5,9 @@ import "git.gregbrzezinski.com/Skirda/skirdaGoLauncher/sharedutils/games/skirdag
|
|||||||
const gameType = "minecraft"
|
const gameType = "minecraft"
|
||||||
|
|
||||||
type MinecraftGame struct {
|
type MinecraftGame struct {
|
||||||
SkirdaGameId string
|
SkirdaGameId string
|
||||||
Assets skirdagame.GameUIAssets
|
Assets skirdagame.GameUIAssets
|
||||||
Versions []string
|
Versions []string
|
||||||
CurrentVersion string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (game MinecraftGame) GetSkirdaGameId() string {
|
func (game MinecraftGame) GetSkirdaGameId() string {
|
||||||
@ -34,7 +33,3 @@ func (game MinecraftGame) GetArguments() skirdagame.Arguments {
|
|||||||
func (game MinecraftGame) GetVersions() []string {
|
func (game MinecraftGame) GetVersions() []string {
|
||||||
return game.Versions
|
return game.Versions
|
||||||
}
|
}
|
||||||
|
|
||||||
func (game MinecraftGame) GetCurrentVersions() string {
|
|
||||||
return game.CurrentVersion
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user