You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
709 B
Go

package gma
type AddonArchive struct {
LZMA bool
}
type GMAHeader struct {
FormatVersion byte `json:"formatVersion"`
FormatVersionDiscardByte byte `json:"formatVersionDB"`
SteamID uint64 `json:"steamID"`
Timestamp uint64 `json:"timestamp"`
Title string `json:"title"`
Description string `json:"description"`
Author string `json:"author"`
AddonVersion int32 `json:"addonVersion"`
}
type GMAFileMetadata struct {
FileNumber int32
FileName string
Offset int64
FileSize int64
CRC uint32
NextType uint32
}
type GMAExtractionMeta struct {
OriginalMeta GMAFileMetadata
ExtractedCRC uint32
ExtractedSHA256 string
}