1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-28 01:55:24 +00:00
OpenDiablo2/d2common/d2data/object.go
Ziemas fa20b9ee51
Spawn monster by monstat record (#508)
* 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
2020-07-01 00:06:06 -04:00

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
}