town

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemBoxSize       = 33
	InventoryTopLeftX = 846
	InventoryTopLeftY = 369
)

Variables

This section is empty.

Functions

This section is empty.

Types

type A1

type A1 struct {
}

func (A1) HealNPC

func (a A1) HealNPC() npc.ID

func (A1) MercContractorNPC

func (a A1) MercContractorNPC() npc.ID

func (A1) RefillNPC

func (a A1) RefillNPC() npc.ID

func (A1) RepairNPC

func (a A1) RepairNPC() npc.ID

func (A1) TPWaitingArea

func (a A1) TPWaitingArea(d data.Data) data.Position

type A2

type A2 struct {
}

func (A2) HealNPC

func (a A2) HealNPC() npc.ID

func (A2) MercContractorNPC

func (a A2) MercContractorNPC() npc.ID

func (A2) RefillNPC

func (a A2) RefillNPC() npc.ID

func (A2) RepairNPC

func (a A2) RepairNPC() npc.ID

func (A2) TPWaitingArea

func (a A2) TPWaitingArea(d data.Data) data.Position

type A3

type A3 struct {
}

func (A3) HealNPC

func (a A3) HealNPC() npc.ID

func (A3) MercContractorNPC

func (a A3) MercContractorNPC() npc.ID

func (A3) RefillNPC

func (a A3) RefillNPC() npc.ID

func (A3) RepairNPC

func (a A3) RepairNPC() npc.ID

func (A3) TPWaitingArea

func (a A3) TPWaitingArea(_ data.Data) data.Position

type A4

type A4 struct {
}

func (A4) HealNPC

func (a A4) HealNPC() npc.ID

func (A4) MercContractorNPC

func (a A4) MercContractorNPC() npc.ID

func (A4) RefillNPC

func (a A4) RefillNPC() npc.ID

func (A4) RepairNPC

func (a A4) RepairNPC() npc.ID

func (A4) TPWaitingArea

func (a A4) TPWaitingArea(_ data.Data) data.Position

type A5

type A5 struct {
}

func (A5) HealNPC

func (a A5) HealNPC() npc.ID

func (A5) MercContractorNPC

func (a A5) MercContractorNPC() npc.ID

func (A5) RefillNPC

func (a A5) RefillNPC() npc.ID

func (A5) RepairNPC

func (a A5) RepairNPC() npc.ID

func (A5) TPWaitingArea

func (a A5) TPWaitingArea(_ data.Data) data.Position

type ShopManager

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

func NewShopManager

func NewShopManager(logger *zap.Logger, bm health.BeltManager) ShopManager

func (ShopManager) BuyConsumables

func (sm ShopManager) BuyConsumables(d data.Data)

func (ShopManager) SellJunk

func (sm ShopManager) SellJunk(d data.Data)

func (ShopManager) ShouldBuyIDs

func (sm ShopManager) ShouldBuyIDs(d data.Data) bool

func (ShopManager) ShouldBuyKeys

func (sm ShopManager) ShouldBuyKeys(d data.Data) bool

func (ShopManager) ShouldBuyTPs

func (sm ShopManager) ShouldBuyTPs(d data.Data) bool

type Town

type Town interface {
	RefillNPC() npc.ID
	HealNPC() npc.ID
	RepairNPC() npc.ID
	MercContractorNPC() npc.ID
	TPWaitingArea(d data.Data) data.Position
}

func GetTownByArea

func GetTownByArea(a area.Area) Town

Jump to

Keyboard shortcuts

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