window

package
v0.0.0-...-30d8e43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindVerById

func FindVerById(ver string) int

Types

type EditProfileWindow

type EditProfileWindow struct {
	Window *widgets.QWidget
	// contains filtered or unexported fields
}

func NewEditProfileWindow

func NewEditProfileWindow(parent *FWindow) *EditProfileWindow

type FWindow

type FWindow struct {
	Window *widgets.QWidget

	ProgressBar       *widgets.QProgressBar
	ProgressBarStatus *widgets.QLabel
	// contains filtered or unexported fields
}

func NewFWindow

func NewFWindow() *FWindow

func (*FWindow) Launch

func (fw *FWindow) Launch()

type LProfile

type LProfile struct {
	Name          string `json:"name"`
	Type          string `json:"type"`
	LastVersionId string `json:"lastVersionId"`
	GameDir       string `json:"gameDir"`
	JavaDir       string `json:"javaDir"`
	JavaArgs      string `json:"javaArgs"`
}

type LauncherProfiles

type LauncherProfiles struct {
	Profiles               map[string]LProfile `json:"profiles"`
	AuthenticationDatabase struct {
		RefreshToken string
		Email        string
		Username     string
	}

	PreviousProfile string
}

func (*LauncherProfiles) Save

func (l *LauncherProfiles) Save() error

type MSTab

type MSTab struct {
	RedirectLink *widgets.QLineEdit

	AccessToken       string
	Uuid              string
	HaveBoughtTheGame bool
	Authed            bool
	// contains filtered or unexported fields
}

func NewMSTab

func NewMSTab(parent widgets.QWidget_ITF, parentWindow *FWindow) *MSTab

func (*MSTab) Auth

func (ms *MSTab) Auth(ch chan string)

func (*MSTab) Unauth

func (ms *MSTab) Unauth(_ bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL