mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-11 23:08:03 -05:00
8809fb2c22
I realized that the file manager is actually managing file access to the archives, but it's doing so through the archive manager. I've renamed it, it's now called ArchivedFileManager because that is really what it is.
11 lines
312 B
Go
11 lines
312 B
Go
package d2interface
|
|
|
|
// ArchivedFileManager manages file access to the archives being managed
|
|
// by the ArchiveManager
|
|
type ArchivedFileManager interface {
|
|
Cacher
|
|
LoadFileStream(filePath string) (ArchiveDataStream, error)
|
|
LoadFile(filePath string) ([]byte, error)
|
|
FileExists(filePath string) (bool, error)
|
|
}
|