mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-07-02 03:35:23 +00:00
* adding comments to d2interface for linter * moved d2render renderer interfaces and types into d2interface * fixed most lint errors for monstats loader * de-lint d2data wip * d2data: resolve linting errors
19 lines
420 B
Go
19 lines
420 B
Go
package d2data
|
|
|
|
import (
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common"
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2data/d2datadict"
|
|
)
|
|
|
|
// 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
|
|
Lookup *d2datadict.ObjectLookupRecord
|
|
ObjectInfo *d2datadict.ObjectRecord
|
|
}
|