2020-01-26 05:39:13 +00:00
|
|
|
package d2data
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common"
|
2020-02-01 04:18:11 +00:00
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2data/d2datadict"
|
2020-01-26 05:39:13 +00:00
|
|
|
)
|
|
|
|
|
2020-06-30 13:17:07 +00:00
|
|
|
// Object is a game world object
|
2020-01-26 05:39:13 +00:00
|
|
|
type Object struct {
|
2020-02-23 01:44:30 +00:00
|
|
|
Type int
|
2020-06-30 13:17:07 +00:00
|
|
|
Id int //nolint:golint Id is the right key
|
2020-02-23 01:44:30 +00:00
|
|
|
X int
|
|
|
|
Y int
|
|
|
|
Flags int
|
2020-01-26 05:39:13 +00:00
|
|
|
Paths []d2common.Path
|
|
|
|
Lookup *d2datadict.ObjectLookupRecord
|
|
|
|
ObjectInfo *d2datadict.ObjectRecord
|
|
|
|
}
|