mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 19:44:15 -04:00
* DS1 reader no longer looks up objects * Start of enteties managing their own equipment * stringer and string2enum CompositeType String2enum * Use CompositeType stringer to simplify composite * Finally fix GetDelimitedList And lint issues * NPC selects random equipment
16 lines
275 B
Go
16 lines
275 B
Go
package d2data
|
|
|
|
import (
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common"
|
|
)
|
|
|
|
// Object is a game world object
|
|
type Object struct {
|
|
Type int
|
|
Id int //nolint:golint Id is the right key
|
|
X int
|
|
Y int
|
|
Flags int
|
|
Paths []d2common.Path
|
|
}
|