yglib

package
v0.0.0-...-5f3ad91 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GAME_PROCCESS = "dlpc"
View Source
const GAME_WINDOW = "Yu-Gi-Oh! DUEL LINKS"

Variables

This section is empty.

Functions

This section is empty.

Types

type Pos

type Pos struct {
	// contains filtered or unexported fields
}

type YugiGame

type YugiGame struct {
	BitMapManager *bm.BitMapManager

	Width  int
	Height int
	// contains filtered or unexported fields
}
var YuGiGameEntry *YugiGame

func NewYugiGame

func NewYugiGame(bmManager *bm.BitMapManager) (ygg *YugiGame, err error)

func (*YugiGame) FindBitMapAndMoveClick

func (ygg *YugiGame) FindBitMapAndMoveClick(sbe bm.SrcBitMapEntity, args ...interface{})

func (*YugiGame) FindBitMapLookForward

func (ygg *YugiGame) FindBitMapLookForward(sbe bm.SrcBitMapEntity, checkInterval time.Duration, deadTime time.Duration, args ...interface{}) bool

func (YugiGame) GetWindowInfo

func (ygg YugiGame) GetWindowInfo() (int, int, int, int)

func (*YugiGame) IsBitMapExist

func (ygg *YugiGame) IsBitMapExist(sbe bm.SrcBitMapEntity, args ...interface{}) bool

func (*YugiGame) MoveAndClick

func (ygg *YugiGame) MoveAndClick(x int, y int)

func (*YugiGame) MovesAndClick

func (ygg *YugiGame) MovesAndClick(x int, y int)

Jump to

Keyboard shortcuts

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