mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-11 10:20:41 +00:00
15 lines
335 B
Go
15 lines
335 B
Go
|
package d2records
|
||
|
|
||
|
// PlayerClasses stores the PlayerClassRecords
|
||
|
type PlayerClasses map[string]*PlayerClassRecord
|
||
|
|
||
|
// PlayerClassRecord represents a single line from PlayerClass.txt
|
||
|
// Lookup table for class codes
|
||
|
type PlayerClassRecord struct {
|
||
|
// Name of the player class
|
||
|
Name string
|
||
|
|
||
|
// Code for the player class
|
||
|
Code string
|
||
|
}
|