Versions in this module Expand all Collapse all v1 v1.6.0 Sep 23, 2025 Changes in this version + var ErrInvalidArchive = errors.New("Invalid MPQ Archive") + func FileNameHash(name string) (h1, h2, h3 uint32) + type MPQ struct + func New(input io.ReadSeeker) (*MPQ, error) + func NewFromFile(name string) (*MPQ, error) + func (m *MPQ) Close() error + func (m *MPQ) FileByHash(h1, h2, h3 uint32) ([]byte, error) + func (m *MPQ) FileByName(name string) ([]byte, error) + func (m *MPQ) FilesCount() uint32 + func (m *MPQ) Input() io.ReadSeeker + func (m *MPQ) SrcFile() *os.File + func (m *MPQ) UserData() []byte