mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-17 01:51:14 -05:00
20 lines
441 B
Go
20 lines
441 B
Go
|
package d2records
|
||
|
|
||
|
// Properties stores all of the PropertyRecords
|
||
|
type Properties map[string]*PropertyRecord
|
||
|
|
||
|
// PropertyStatRecord contains stat information for a property
|
||
|
type PropertyStatRecord struct {
|
||
|
SetID int
|
||
|
Value int
|
||
|
FunctionID int
|
||
|
StatCode string
|
||
|
}
|
||
|
|
||
|
// PropertyRecord is a representation of a single row of properties.txt
|
||
|
type PropertyRecord struct {
|
||
|
Code string
|
||
|
Active string
|
||
|
Stats [7]*PropertyStatRecord
|
||
|
}
|