mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-11 02:58:10 -05:00
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
302 B
Go
11 lines
302 B
Go
package d2interface
|
|
|
|
// ArchiveManager manages loading files from archives
|
|
type ArchiveManager interface {
|
|
Cacher
|
|
LoadArchiveForFile(filePath string) (Archive, error)
|
|
FileExistsInArchive(filePath string) (bool, error)
|
|
LoadArchive(archivePath string) (Archive, error)
|
|
CacheArchiveEntries() error
|
|
}
|