Add levels and fix tz?

This commit is contained in:
Héctor Giménez
2024-04-24 21:47:45 +09:00
parent ab304a68f6
commit 07b5a3a1c3
10 changed files with 16015 additions and 196 deletions

View File

@@ -25,13 +25,13 @@ type Watcher struct {
type itemFootprint struct {
detectedAt time.Time
area area.Area
area area.ID
position data.Position
name item.Name
quality item.Quality
}
func (fp itemFootprint) Match(area area.Area, i data.Item) bool {
func (fp itemFootprint) Match(area area.ID, i data.Item) bool {
return fp.area == area && fp.position == i.Position && fp.name == i.Name && fp.quality == i.Quality
}