Skip to content
moxcomic edited this page Mar 2, 2024 · 8 revisions

A special feature assistance library for Archer.

Import

github.com/moxcomic/Archer/utils

Attention

Please note: After switching engines, the change will take effect in the next hand. It will not switch during the current hand. For example, if you switch during East-2, zero honba, the change will only be effective from East-3 or East-2, one honba onwards.

func Inst() *Utils
func (self *Utils) ChangeEngine(engine string)
func (self *Utils) Polarity(polarity bool)
func (self *Utils) Review(distance float64, retryCount, reviewRetryCount int, model string) (rating, matches, reviewUrl, result string, err error)
func (self *Utils) DispatchBot(distance float64, retryCount int, lobby, speed string, model ...string) error
func (self *Utils) MouseMove(x, y float64, step int)
func (self *Utils) MouseClick(count int)
func (self *Utils) Screenshot(toFile string)

Clone this wiki locally