Skip to main content

Client TitleFile API Reference

PGOS provides a file management system which manages files in title-wide. The title file information can be accessed by the game client and game server, and the game can choose to download them using the obtained URLs.

API List

APIDescription
GetTitleFileInfoQuery the title file informations of the specified file paths.

API Details

GetTitleFileInfo

Query the title file informations of the specified file paths.

/**
* Query the title file informations of the specified file paths.
*
* @param Params The parameter to get title file info.
* @param ResultCallback The result callback after the API execution ends, and it will be called in the GAME THREAD. For lifetime safety, it is recommended to use the CreateWeakCallback provided in PgosSDKCpp.h to create a lambda bound to an UObject.
*/
void GetTitleFileInfo(
const FPgosGetTitleFileInfoParams& Params,
TFunction<void(const FPgosResult& Ret, const FPgosGetTitleFileInfoResult* Data)> ResultCallback) const;

Parameters:

ParamTypeDescription
Paramsconst FPgosGetTitleFileInfoParams&The parameter to get title file info.
ResultCallbackTFunction<void(const FPgosResult& Ret, const FPgosGetTitleFileInfoResult* Data)>The result callback after the API execution ends, and it will be called in the GAME THREAD. For lifetime safety, it is recommended to use the CreateWeakCallback provided in PgosSDKCpp.h to create a lambda bound to an UObject.

Return: void