ladder

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Rank = int(core.Qt__UserRole) + 1<<iota
	Name
	Class
	Level
	Title
	Status
)

Model Roles.

Variables

This section is empty.

Functions

This section is empty.

Types

type Character

type Character struct {
	core.QObject

	Name   string
	Class  string
	Level  int
	Rank   int
	Title  string
	Status string
}

Character represents a Diablo character in the model.

type Service

type Service interface {
	SetLadderCharacters(mode string) error
}

Service is responsible for all things related to the Slashdiablo ladder.

func NewService

func NewService(
	client ladderClient.Client,
	ladderModel *TopLadderModel,
) Service

NewService returns a service with all the dependencies.

type TopLadderModel

type TopLadderModel struct {
	core.QAbstractListModel
	// contains filtered or unexported fields
}

TopLadderModel represents the in game ladder model.

Jump to

Keyboard shortcuts

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