Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUUIDForName ¶
Types ¶
type AssetCatalog ¶
type AssetCatalog struct { Signature []byte Version uint32 FileSize1 uint32 Field4 uint32 GuidBlockOffset uint32 TypeBlockOffset uint32 DirBlockOffset uint32 FileNameBlockOffset uint32 FileSize2 uint32 AssetIdToInfoNumEntries uint32 AssetIdToInfo []*AssetIdToInfoRef Unknown1 uint32 // AssetDependenciesNumEntries? AssetPathToIdNumEntries uint32 AssetPathToId []*AssetPathToIdRef LegacyAssetIdToRealAssetIdNumEntries uint32 LegacyAssetIdToRealAssetId []*LegacyAssetIdToRealAssetIdRef }
func ParseAssetCatalog ¶
func ParseAssetCatalog(r io.Reader) (*AssetCatalog, error)
type AssetIdToInfoRef ¶
type AssetIdToInfoRef struct { Guid1Index uint32 SubId1 uint32 Guid2Index uint32 SubId2 uint32 TypeIndex uint32 Field6 uint32 FileSize uint32 Field8 uint32 DirOffset uint32 FileNameOffset uint32 }
func (*AssetIdToInfoRef) Load ¶
func (ref *AssetIdToInfoRef) Load(rs io.ReadSeeker, cat *AssetCatalog) (*AssetInfo, error)
type AssetPathToId ¶
type AssetPathToIdRef ¶
func (*AssetPathToIdRef) Load ¶
func (ref *AssetPathToIdRef) Load(rs io.ReadSeeker, cat *AssetCatalog) (*AssetPathToId, error)
type LegacyAssetIdToRealAssetIdRef ¶
type LegacyAssetIdToRealAssetIdRef struct { LegacyGuidIndex uint32 LegacySubId uint32 RealGuidIndex uint32 RealSubId uint32 }
func (*LegacyAssetIdToRealAssetIdRef) Load ¶
func (ref *LegacyAssetIdToRealAssetIdRef) Load(rs io.ReadSeeker, cat *AssetCatalog) (*LegacyAssetIdToRealAssetId, error)
Click to show internal directories.
Click to hide internal directories.