Versions in this module Expand all Collapse all v1 v1.8.1 May 1, 2024 v1.8.0 Feb 2, 2024 v1.7.0 Jan 20, 2024 v1.6.6 Nov 13, 2023 v1.6.5 Nov 13, 2023 v1.6.4 Oct 8, 2023 v1.6.3 Oct 8, 2023 v1.6.2 Aug 6, 2023 v1.6.1 Aug 6, 2023 v1.6.0 Aug 6, 2023 Changes in this version + const AssetBaseUrl + func GetGameAssets(ctx context.Context, version ark.Version, dst string, patterns []string) error + func GetLatestVersion() (string, error) + func GetResURL(resVersion string, res string) string + func UpdateGameAssets(ctx context.Context, oldResVer string, newResVer string, dst string, ...) error + type AbInfo struct + AbSize int + Cid int + Hash string + MD5 string + Name string + Pid string + TotalSize int + Type string + type FullPack struct + AbSize int + Cid int + TotalSize int + Type string + type HotUpdateList struct + AbInfos []AbInfo + CountOfTypedRes int + FullPack FullPack + PackInfos []PackInfo + VersionID string + func GetRawResources(resVersion string) (HotUpdateList, error) + type Info struct + MD5 string + Name string + Version ark.Version + func CalculateDifferences(new []Info, old []Info) []Info + func GetInfoList(version ark.Version) ([]Info, error) + func (i Info) Url() string + type PackInfo struct + AbSize int + Cid int + Hash string + MD5 string + Name string + TotalSize int + type Version struct + ClientVersion string + ResVersion string + func GetRawVersion() (Version, error)