Documentation ¶
Index ¶
- Variables
- func GetUserScore(summonerID int64) (*lcu.UserScore, error)
- func RegisterRoutes(r *gin.Engine, api *Api)
- type Api
- func (api Api) CopyHorseMsgToClipBoard(c *gin.Context)
- func (api Api) DevHand(c *gin.Context)
- func (api Api) GetAllConf(c *gin.Context)
- func (api Api) GetAppInfo(c *gin.Context)
- func (api Api) GetLcuAuthInfo(c *gin.Context)
- func (api Api) ProphetActiveMid(c *gin.Context)
- func (api Api) QueryHorseBySummonerName(c *gin.Context)
- func (api Api) UpdateClientConf(c *gin.Context)
- type ApplyOption
- type GameState
- type Prophet
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 )
View Source
var ( APPVersion = "0.2.3" Commit = "dev" BuildTime = "" BuildUser = "" )
Functions ¶
func RegisterRoutes ¶
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func (Api) CopyHorseMsgToClipBoard ¶
func (Api) GetAllConf ¶
func (Api) GetAppInfo ¶
func (Api) GetLcuAuthInfo ¶
func (Api) ProphetActiveMid ¶
func (Api) QueryHorseBySummonerName ¶
func (Api) UpdateClientConf ¶
type ApplyOption ¶
type ApplyOption func(o *options)
func WithDebug ¶
func WithDebug() ApplyOption
func WithEnablePprof ¶
func WithEnablePprof(enablePprof bool) ApplyOption
func WithHttpAddr ¶
func WithHttpAddr(httpAddr string) ApplyOption
func WithProd ¶
func WithProd() ApplyOption
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()
func (*Prophet) MonitorStart ¶
func (p *Prophet) MonitorStart()
func (*Prophet) SetupFakerOffline ¶
Click to show internal directories.
Click to hide internal directories.