Documentation
¶
Overview ¶
eqg is a pfs archive for EverQuest
Index ¶
- type FileEntry
- type FilerByCRC
- type FilerByName
- type Pfs
- func (e *Pfs) Add(name string, data []byte) error
- func (e *Pfs) Close() error
- func (e *Pfs) Extract(path string) (string, error)
- func (e *Pfs) File(name string) ([]byte, error)
- func (e *Pfs) Files() []*FileEntry
- func (e *Pfs) Len() int
- func (e *Pfs) Read(r io.ReadSeeker) error
- func (e *Pfs) Remove(name string) error
- func (e *Pfs) Set(name string, data []byte) error
- func (e *Pfs) SetFile(name string, data []byte) error
- func (e *Pfs) Write(w io.WriteSeeker) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileEntry ¶
type FileEntry struct {
// contains filtered or unexported fields
}
FileEntry represents a file entry in a Pfs
func NewFileEntry ¶
NewFileEntry creates a new file entry
type FilerByCRC ¶
type FilerByCRC []*FileEntry
FilerByCRC sorts a slice of Filer by CRC32
func (FilerByCRC) Less ¶
func (s FilerByCRC) Less(i, j int) bool
Less returns true if the CRC32 of the first element is less than the second
type FilerByName ¶
type FilerByName []filer
FilerByName sorts a slice of Filer by name
func (FilerByName) Less ¶
func (s FilerByName) Less(i, j int) bool
Less returns true if the name of the first element is less than the second
type Pfs ¶
type Pfs struct { ContentsSummary string // contains filtered or unexported fields }
Pfs represents a modern everquest pfs archive
Click to show internal directories.
Click to hide internal directories.