Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) AddModsDirectory ¶
type ModArchiveLoader ¶
type ModArchiveLoader struct {
// contains filtered or unexported fields
}
ModArchiveLoader loads images from a zip archive of the mod.
func NewModArchiveLoader ¶
func NewModArchiveLoader(file string) *ModArchiveLoader
func (*ModArchiveLoader) Load ¶
func (l *ModArchiveLoader) Load(path string) (io.ReadCloser, error)
type ModDirectoryLoader ¶
type ModDirectoryLoader struct {
// contains filtered or unexported fields
}
ModDirectoryLoader loads images from unzipped mod directories, e.g. from the base or core mod.
func NewModDirectoryLoader ¶
func NewModDirectoryLoader(directory string) *ModDirectoryLoader
func (*ModDirectoryLoader) Load ¶
func (l *ModDirectoryLoader) Load(path string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.