add object owner

This commit is contained in:
Héctor Giménez
2024-04-10 08:53:45 +09:00
parent 58b995842d
commit c7aeb01089
2 changed files with 5 additions and 0 deletions

View File

@@ -3,11 +3,13 @@ package data
import "github.com/hectorgimenez/d2go/pkg/data/object"
type Object struct {
ID UnitID
Name object.Name
IsHovered bool
Selectable bool
InteractType object.InteractType
Position Position
Owner string
}
type Objects []Object