跳到主要内容

Server 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 result_callback The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.
*/
void GetTitleFileInfo(
const GetTitleFileInfoParams& params,
PgosDataCallback<GetTitleFileInfoResult> result_callback);

Parameters:

ParamTypeDescription
paramsconst GetTitleFileInfoParams&The parameter to get title file info.
result_callbackPgosDataCallback<GetTitleFileInfoResult>The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.

Return: void