2020-09-26 02:13:01 -04:00
|
|
|
package d2records
|
|
|
|
|
2020-10-22 02:41:21 -04:00
|
|
|
// Belts stores all of the BeltRecords
|
2020-09-26 02:13:01 -04:00
|
|
|
type Belts map[string]*BeltRecord
|
|
|
|
|
2020-10-22 02:41:21 -04:00
|
|
|
// BeltRecord is a representation of the belt ui-panel dimensions/positioning
|
2020-09-26 02:13:01 -04:00
|
|
|
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
|
|
|
|
}
|