analyzer

package
v0.0.0-...-0583c98 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetID

func GetID(name, version, loc, mode string) string

GetID return str like lillia-1401-na1-aram

Types

type Analyzer

type Analyzer struct {
	Exit chan struct{}
	// contains filtered or unexported fields
}

func NewAnalyzer

func NewAnalyzer(opts ...Setup) *Analyzer

func (*Analyzer) Analyze

func (a *Analyzer) Analyze()

func (*Analyzer) AnalyzeSingleMatch

func (a *Analyzer) AnalyzeSingleMatch(match *riotmodel.MatchDB)

type Judger

type Judger func(tar *anres.ChampionDetail)

func JudgeARAM

func JudgeARAM() Judger

func JudgeClassic

func JudgeClassic() Judger

type Setup

type Setup func(stgy *Strategy) // Strategy的配置选项

func WithLoc

func WithLoc(locs ...riotmodel.LOCATION) Setup

func WithMode

func WithMode(mode ...riotmodel.GAMEMODE) Setup

func WithVersions

func WithVersions(versions ...string) Setup

type Strategy

type Strategy struct {
	Loc       []riotmodel.LOCATION // 地区列表
	Mode      []riotmodel.GAMEMODE // 游戏模式
	Lang      []riotmodel.LANG     // 语言
	Versions  []string
	BatchSize int
}

Jump to

Keyboard shortcuts

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