Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FI = []byte("GoAB")
FI 文件头部标识
Functions ¶
This section is empty.
Types ¶
type ABFileInfo ¶
type ABFileInfo struct { Path string `json:"p"` ModTime int64 `json:"t"` Size int64 `json:"s"` At int64 `json:"a"` }
ABFileInfo 资源包文件信息
type AssetBundle ¶
type AssetBundle struct { Size int64 Head []byte Files []ABFileInfo Version uint16 // contains filtered or unexported fields }
AssetBundle 资源包
func NewAssetBundle ¶
func NewAssetBundle(name string) (*AssetBundle, error)
NewAssetBundle 创建一个新的资源包
func OpenAssetBundle ¶
func OpenAssetBundle(name string) (*AssetBundle, error)
OpenAssetBundle 从文件打开资源包
Click to show internal directories.
Click to hide internal directories.