mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-10 13:34:36 -04:00
* Added RecordManager implementation to remove d2datadict singletons * fix object lookup test
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
|
|
}
|