Documentation ¶
Index ¶
- Constants
- Variables
- func GetCompositeGameData(ctx context.Context, server ark.Server, version ark.Version, patterns []string, ...) error
- func GetGameData(ctx context.Context, server ark.Server, version ark.Version, patterns []string, ...) error
- type DataInfo
- type DataVersion
- func GetCompositeDataVersion(ctx context.Context, server ark.Server, resVer string) (*DataVersion, error)
- func GetDataVersion(ctx context.Context, server ark.Server, resVer string) (*DataVersion, error)
- func GetLatestCompositeDataVersion(ctx context.Context, server ark.Server) (*DataVersion, error)
- func GetLatestDataVersion(ctx context.Context, server ark.Server) (*DataVersion, error)
Constants ¶
View Source
const ( RepoOwner = "Kengxxiao" RepoName = "ArknightsGameData" CompositeRepoOwner = "FlandiaYingman" CompositeRepoName = "ArknightsGameDataComposite" DefaultPrefix = "assets/torappu/dynamicassets" )
Variables ¶
View Source
var ( // RepoCommitMessageRegex is for matching that a commit is a resource-updating commit. // // Examples: // - [CN UPDATE] Client:2.0.01 Data:23-05-11-16-35-19-8a6fe7 [BOT TEST] - Match: CN, 2.0.01, 23-05-11-16-35-19-8a6fe7 // - [EN UPDATE] Client:15.9.01 Data:23-04-25-10-10-55-972129 - Match: EN, 15.9.01, 23-04-25-10-10-55-972129 RepoCommitMessageRegex = regexp.MustCompile("\\[(CN|EN|JP|KR) UPDATE] Client:([.\\d]*) Data:([-\\w]*)") )
Functions ¶
func GetCompositeGameData ¶
Types ¶
type DataVersion ¶
type DataVersion struct { GameServer ark.Server ClientVersion string ResourceVersion string CommitSHA string }
func GetCompositeDataVersion ¶
func GetDataVersion ¶
func GetLatestDataVersion ¶
Click to show internal directories.
Click to hide internal directories.