1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-19 21:55:24 +00:00
OpenDiablo2/d2common/d2interface/archived_file_manager.go

11 lines
312 B
Go
Raw Normal View History

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)
}