mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-18 02:16:23 -05:00
93 lines
1.3 KiB
Go
93 lines
1.3 KiB
Go
package d2records
|
|
|
|
// Belts stores all of the BeltRecords
|
|
type Belts map[string]*BeltRecord
|
|
|
|
// BeltRecord is a representation of the belt ui-panel dimensions/positioning
|
|
type BeltRecord struct {
|
|
Name string
|
|
NumBoxes int
|
|
BoxWidth int
|
|
BoxHeight int
|
|
|
|
Box1Left int
|
|
Box1Right int
|
|
Box1Top int
|
|
Box1Bottom int
|
|
|
|
Box2Left int
|
|
Box2Right int
|
|
Box2Top int
|
|
Box2Bottom int
|
|
|
|
Box3Left int
|
|
Box3Right int
|
|
Box3Top int
|
|
Box3Bottom int
|
|
|
|
Box4Left int
|
|
Box4Right int
|
|
Box4Top int
|
|
Box4Bottom int
|
|
|
|
Box5Left int
|
|
Box5Right int
|
|
Box5Top int
|
|
Box5Bottom int
|
|
|
|
Box6Left int
|
|
Box6Right int
|
|
Box6Top int
|
|
Box6Bottom int
|
|
|
|
Box7Left int
|
|
Box7Right int
|
|
Box7Top int
|
|
Box7Bottom int
|
|
|
|
Box8Left int
|
|
Box8Right int
|
|
Box8Top int
|
|
Box8Bottom int
|
|
|
|
Box9Left int
|
|
Box9Right int
|
|
Box9Top int
|
|
Box9Bottom int
|
|
|
|
Box10Left int
|
|
Box10Right int
|
|
Box10Top int
|
|
Box10Bottom int
|
|
|
|
Box11Left int
|
|
Box11Right int
|
|
Box11Top int
|
|
Box11Bottom int
|
|
|
|
Box12Left int
|
|
Box12Right int
|
|
Box12Top int
|
|
Box12Bottom int
|
|
|
|
Box13Left int
|
|
Box13Right int
|
|
Box13Top int
|
|
Box13Bottom int
|
|
|
|
Box14Left int
|
|
Box14Right int
|
|
Box14Top int
|
|
Box14Bottom int
|
|
|
|
Box15Left int
|
|
Box15Right int
|
|
Box15Top int
|
|
Box15Bottom int
|
|
|
|
Box16Left int
|
|
Box16Right int
|
|
Box16Top int
|
|
Box16Bottom int
|
|
}
|