lol_prophet_gui

package module
v0.0.0-...-a2b235b Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: MIT Imports: 31 Imported by: 0

README

lol-prophet-gui

基于 hh-lol-prophet: https://github.com/real-web-world/hh-lol-prophet

  • lol 看看谁是牛马,分析己方玩家近期数据,发送/复制对应的🐎、kda、得分
得分规则
  • 默认100分
得分 代号
150 汗血宝马
125 上等马
105 中等马
95 下等马
<95 牛马
截图

img

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SendConversationMsg   = lcu.SendConversationMsg
	ListConversationMsg   = lcu.ListConversationMsg
	GetCurrConversationID = lcu.GetCurrConversationID
	QuerySummoner         = lcu.QuerySummoner
	QueryGameSummary      = lcu.QueryGameSummary
	ListGamesBySummonerID = lcu.ListGamesBySummonerID
)

Functions

func Append

func Append(newtext ...interface{})

func CheckUpdate

func CheckUpdate() (ok bool, downloadUrl, info string)

func GetLol

func GetLol() *gui

func GetUserScore

func GetUserScore(summonerID int64) (*lcu.UserScore, error)

Types

type ApplyOption

type ApplyOption func(o *options)

func WithDebug

func WithDebug() ApplyOption

func WithEnablePprof

func WithEnablePprof(enablePprof bool) ApplyOption

func WithProd

func WithProd() ApplyOption

type GameState

type GameState string
const (
	GameStateNone        GameState = "none"
	GameStateChampSelect GameState = "champSelect"
	GameStateReadyCheck  GameState = "ReadyCheck"
	GameStateInGame      GameState = "inGame"
	GameStateOther       GameState = "other"
)

gameState

type Prophet

type Prophet struct {
	GameState GameState
	// contains filtered or unexported fields
}

func NewProphet

func NewProphet(opts ...ApplyOption) *Prophet

func (Prophet) AcceptGame

func (p Prophet) AcceptGame()

func (Prophet) CalcEnemyTeamScore

func (p Prophet) CalcEnemyTeamScore()

func (Prophet) ChampionSelectStart

func (p Prophet) ChampionSelectStart()

ChampionSelectStart 选择英雄时进行核心逻辑处理:获取人员、计算得分、发送信息

func (*Prophet) MonitorStart

func (p *Prophet) MonitorStart()

func (*Prophet) Run

func (p *Prophet) Run()

func (*Prophet) Stop

func (p *Prophet) Stop() error

func (Prophet) UpdateClientConf

func (p Prophet) UpdateClientConf(conf *conf.Client) error

Directories

Path Synopsis
cmd
gui command
lcu-agent command
pkg
services
lcu
ws

Jump to

Keyboard shortcuts

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