1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-07 18:57:18 -05:00
OpenDiablo2/d2core/d2records/record_loader.go
gravestench 271673851a
Added RecordManager implementation to remove d2datadict singletons (#736)
* Added RecordManager implementation to remove d2datadict singletons

* fix object lookup test
2020-09-19 14:33:40 -04:00

8 lines
299 B
Go

package d2records
import "github.com/OpenDiablo2/OpenDiablo2/d2common/d2fileformats/d2txt"
// recordLoader represents something that can load a data dictionary and
// handles placing it in the record manager exports
type recordLoader func(r *RecordManager, dictionary *d2txt.DataDictionary) error