Client TitleRegionConfigData API Reference
Title Region Config Data is a set of data associated with the title region. It is commonly used to store configuration data that is applicable across the title-region-wide, such as level experience ramp, damage rules, and so on.
API List
| API | Description |
|---|---|
| GetTitleRegionConfigKVData | Query the specified key-value data of the title region config data. |
| GetAllTitleRegionConfigKVData | Query all key-value data of the title region config data. |
API Details
GetTitleRegionConfigKVData
Query the specified key-value data of the title region config data.
/**
* Query the specified key-value data of the title region config data.
*
* @param query_keys Keys to query
* @param result_callback The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.
*/
void GetTitleRegionConfigKVData(
const pgos::pvector<pgos::pstring>& query_keys,
PgosDataCallback<TitleRegionConfigKVDataQueryResult> result_callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| query_keys | const std::vector<std::string>& | Keys to query |
| result_callback | PgosDataCallback<TitleRegionConfigKVDataQueryResult> | The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD. |
Return: void
GetAllTitleRegionConfigKVData
Query all key-value data of the title region config data.
/**
* Query all key-value data of the title region config data.
*
* @param result_callback The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD.
*/
void GetAllTitleRegionConfigKVData(
PgosDataCallback<TitleRegionConfigKVDataQueryResult> result_callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| result_callback | PgosDataCallback<TitleRegionConfigKVDataQueryResult> | The result callback after the API execution ends, and it will be called in an ASYNCHRONOUS CHILD THREAD. |
Return: void