Documentation
¶
Index ¶
Constants ¶
View Source
const ( Launcherbrand string = "GML" Launcherversion string = "1.3.9" )
View Source
const Minecraft string = ".minecraft"
Variables ¶
View Source
var JsonErr = errors.New("json err")
View Source
var JsonNorTrue = errors.New("json not true")
Functions ¶
func Ifallow ¶ added in v1.1.12
func Ifallow(l LibraryX115) bool
Types ¶
type Gameinfo ¶
type Gameinfo struct { //D:/mc/.minecraft Minecraftpath string //4096 RAM string //xmdhs Name string //9f51573a5ec545828c2b09f7f08497b1 UUID string //eyJhbGciOiJIUzI1NiJ9 AccessToken string //D:/mc/.minecraft/versions/1.15.2 Gamedir string //1.15.2 Version string //1.15.json []byte Jsonbyte []byte Flag []string //"{\"preferredLanguage\":[\"zh-cn\"],\"registrationCountry\":[\"CN\"]}" Userproperties string Log bool JavePath string ApiAddress string // contains filtered or unexported fields }
type LauncherjsonX115 ¶
type LibraryX115 ¶
type LibraryX115 struct { Downloads downloadsX115 `json:"downloads"` Extract extractX115 `json:"extract"` Name string `json:"name" example:"com.mojang:patchy:1.1"` Natives nativesX115 `json:"natives"` Rules []ruleX115 `json:"rules"` }
Click to show internal directories.
Click to hide internal directories.