1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-03 23:26:41 -05:00

adding Path method to abstract source interface

This commit is contained in:
gravestench 2020-11-14 09:50:14 -08:00
parent 474a03e5dc
commit 5727aa2f58

View File

@ -14,6 +14,7 @@ var _ akara.ComponentMap = &FileSourceMap{}
// AbstractSource is the abstract representation of what a file source is // AbstractSource is the abstract representation of what a file source is
type AbstractSource interface { type AbstractSource interface {
Path() string
Open(path *FilePathComponent) (d2interface.DataStream, error) Open(path *FilePathComponent) (d2interface.DataStream, error)
} }