Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttackOption ¶
type AttackOption func(step *AttackStep)
func Distance ¶
func Distance(minimum, maximum int) AttackOption
func EnsureAura ¶
func EnsureAura(keyBinding string) AttackOption
type AttackStep ¶
type AttackStep struct {
// contains filtered or unexported fields
}
func PrimaryAttack ¶
func PrimaryAttack(target data.UnitID, numOfAttacks int, opts ...AttackOption) *AttackStep
func SecondaryAttack ¶
func SecondaryAttack(keyBinding string, id data.UnitID, numOfAttacks int, opts ...AttackOption) *AttackStep
type InteractNPCStep ¶
func InteractNPC ¶
func InteractNPC(npc npc.ID) *InteractNPCStep
type InteractObjectStep ¶
type InteractObjectStep struct {
// contains filtered or unexported fields
}
func InteractObject ¶
type KeySequenceStep ¶
type KeySequenceStep struct {
// contains filtered or unexported fields
}
func KeySequence ¶
func KeySequence(keysToPress ...string) *KeySequenceStep
type MoveToAreaStep ¶
type MoveToAreaStep struct {
// contains filtered or unexported fields
}
func MoveToLevel ¶
func MoveToLevel(area area.Area) *MoveToAreaStep
type MoveToStep ¶
type MoveToStep struct {
// contains filtered or unexported fields
}
func MoveTo ¶
func MoveTo(toX, toY int, teleport bool, opts ...MoveToStepOption) *MoveToStep
type MoveToStepOption ¶
type MoveToStepOption func(step *MoveToStep)
func ClosestWalkable ¶
func ClosestWalkable() MoveToStepOption
func StopAtDistance ¶
func StopAtDistance(distance int) MoveToStepOption
func WithTimeout ¶
func WithTimeout(timeout time.Duration) MoveToStepOption
type OpenPortalStep ¶
type OpenPortalStep struct {
// contains filtered or unexported fields
}
func OpenPortal ¶
func OpenPortal() *OpenPortalStep
type PickupItemStep ¶
type PickupItemStep struct {
// contains filtered or unexported fields
}
func PickupItem ¶
func PickupItem(logger *zap.Logger, item data.Item) *PickupItemStep
type SwapWeaponStep ¶
type SwapWeaponStep struct {
// contains filtered or unexported fields
}
func SwapWeapon ¶
func SwapWeapon() *SwapWeaponStep
type SyncActionStep ¶
type SyncActionStep struct {
// contains filtered or unexported fields
}
func SyncStepWithCheck ¶
Click to show internal directories.
Click to hide internal directories.