Server PlayerProfile API Reference
Player Info is the core attribute collection used to describe a player.
API List
| API | Description |
|---|---|
| GetPlayerInfo | Query a player's detail info. |
| BatchGetPlayerInfo | Perform a batch query of player info for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. |
| GetOneOfPlayerKVData | Query the specified kvdata of the specified player. |
| GetPlayerKVData | Query certain kvdata of the specified player. |
| BatchGetPlayerKVData | Perform a batch query of KVData for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. |
| GetPlayerGroupKVData | Query the specified group kvdata of the specified player. |
| BatchGetPlayerGroupKVData | Perform a batch query of the specified group KVData for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. |
| SetOneOfPlayerKVData | Update the specified kvdata of the specified player. |
| SetPlayerKVData | Update kvdata of the specified player. The update operation for a player's KVData will either succeed as a whole or fail as a whole. |
| BatchSetPlayerKVData | Perform a batch update of KVData for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. The update operation for a player's KVData will either succeed as a whole or fail as a whole. |
| IncrOneOfPlayerKVData | Perform atomic increment operation on a specified kvdata item for a specified player. [Only works on Integer/Float type keys] If the operation is successful, the callback will return the updated data. |
| BatchIncrOneOfPlayerKVData | Perform a batch atomic increment operation on a specified kvdata item for multiple players (max 100 players). [Only works on Integer/Float type keys] If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. For the players whose operations are successful, the callback data will contain the new value of their updated kvdata item. The update operation for a player's KVData will either succeed as a whole or fail as a whole. |
| IncrPlayerKVData | Perform atomic increment operation on multiple kvdata items for a specified player. [Only works on Integer/Float type keys] If the operation is successful, the callback will return the updated data. |
| BatchIncrPlayerKVData | Perform a batch atomic increment operation on multiple kvdata items for multiple players (max 100 players). [Only works on Integer/Float type keys] If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. For the players whose operations are successful, the callback data will contain the new value of their updated kvdata item. The update operation for a player's KVData will either succeed as a whole or fail as a whole. |
| BatchIncrPlayerKVDataIdempotent | Idempotent version of BatchIncrPlayerKVData. Idempotency token could be set for each player. |
| GetPlayerVersionedKVData | Query certain versioned kvdata of the specified player. The keys to be queried must contain at least one versioned key. Call 'GetMyKVData' or 'GetPlayerKVData' instead if you don't need to get the 'version' field, which is only needed when updating versioned KVData. |
| BatchGetPlayerVersionedKVData | Perform a batch query of versioned KVData for multiple players (max 100 players). The keys to be queried must contain at least one versioned key. Call 'BatchGetPlayerKVData' instead if you don't need to get 'version', which is only needed when updating versioned KVData. |
| SetPlayerVersionedKVData | Update versioned kvdata for the specified player. The KVData of the player to be updated must contain at least one versioned key. The 'version' needs to pass in can be obtained from the 'GetPlayerVersionedKVData' or 'BatchGetPlayerVersionedKVData' API call. If the 'version' passed in is the latest, the callback will return success along with the updated data. If the 'version' passed in is not the latest, the callback will return failure(err_code=11108, kBackendKVDataVersionMismatched (11108)) along with the current latest data, you may try again with the latest version. For other errors, please refer to the error message and the developer manual on the portal, and the callback data is invalid. |
| BatchSetPlayerVersionedKVData | Perform a batch update of versioned KVData for multiple players (max 100 players). The KVData of the player to be updated must contain at least one versioned key. The 'version' needs to pass in can be obtained from the 'GetPlayerVersionedKVData' or 'BatchGetPlayerVersionedKVData' API call. If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. The update operation for a player's KVData will either succeed as a whole or fail as a whole. |
| BatchOpenIDToPlayerID | Batch transform playerID of PGOS to account openID of external platform. (max 100 OpenIDs) |
API Details
GetPlayerInfo
Query a player's detail info.
/// <summary>Query a player's detail info.</summary>
/// <param name="player_id">The player to query.</param>
public void GetPlayerInfo(string player_id, PlayerProfileDelegate0 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | The player to query. |
| callback | PlayerProfileDelegate0 |
Return: void
BatchGetPlayerInfo
Perform a batch query of player info for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// <summary>
/// Perform a batch query of player info for multiple players (max 100 players).
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// </summary>
/// <param name="player_ids">The players to query.</param>
public void BatchGetPlayerInfo(List<string> player_ids, PlayerProfileDelegate1 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_ids | List<string> | The players to query. |
| callback | PlayerProfileDelegate1 |
Return: void
GetOneOfPlayerKVData
Query the specified kvdata of the specified player.
/// <summary>Query the specified kvdata of the specified player.</summary>
/// <param name="player_id">The player to query.</param>
/// <param name="query_key">The key to query.</param>
public void GetOneOfPlayerKVData(string player_id, string query_key, PlayerProfileDelegate2 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | The player to query. |
| query_key | string | The key to query. |
| callback | PlayerProfileDelegate2 |
Return: void
GetPlayerKVData
Query certain kvdata of the specified player.
/// <summary>Query certain kvdata of the specified player.</summary>
/// <param name="player_id">The player to query.</param>
/// <param name="query_keys">Keys to query.</param>
public void GetPlayerKVData(string player_id, List<string> query_keys, PlayerProfileDelegate3 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | The player to query. |
| query_keys | List<string> | Keys to query. |
| callback | PlayerProfileDelegate3 |
Return: void
BatchGetPlayerKVData
Perform a batch query of KVData for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// <summary>
/// Perform a batch query of KVData for multiple players (max 100 players).
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// </summary>
/// <param name="player_ids">Players to query.</param>
/// <param name="query_keys">Keys to query.</param>
public void BatchGetPlayerKVData(List<string> player_ids, List<string> query_keys, PlayerProfileDelegate4 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_ids | List<string> | Players to query. |
| query_keys | List<string> | Keys to query. |
| callback | PlayerProfileDelegate4 |
Return: void
GetPlayerGroupKVData
Query the specified group kvdata of the specified player.
/// <summary>Query the specified group kvdata of the specified player.</summary>
/// <param name="player_id">Player to query.</param>
/// <param name="group_name">Name of the specified group.</param>
public void GetPlayerGroupKVData(string player_id, string group_name, PlayerProfileDelegate5 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | Player to query. |
| group_name | string | Name of the specified group. |
| callback | PlayerProfileDelegate5 |
Return: void
BatchGetPlayerGroupKVData
Perform a batch query of the specified group KVData for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// <summary>
/// Perform a batch query of the specified group KVData for multiple players (max 100 players).
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// </summary>
/// <param name="player_ids">Players to query.</param>
/// <param name="group_name">Name of the specified group.</param>
public void BatchGetPlayerGroupKVData(List<string> player_ids, string group_name, PlayerProfileDelegate6 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_ids | List<string> | Players to query. |
| group_name | string | Name of the specified group. |
| callback | PlayerProfileDelegate6 |
Return: void
SetOneOfPlayerKVData
Update the specified kvdata of the specified player.
/// <summary>Update the specified kvdata of the specified player.</summary>
/// <param name="player_id">Player to query.</param>
/// <param name="key">Key to update</param>
/// <param name="value">The new value can be set to string/int32/int64/float/double.</param>
public void SetOneOfPlayerKVData(string player_id, string key, KVDataValue value, PlayerProfileDelegate7 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | Player to query. |
| key | string | Key to update |
| value | KVDataValue | The new value can be set to string/int32/int64/float/double. |
| callback | PlayerProfileDelegate7 |
Return: void
SetPlayerKVData
Update kvdata of the specified player. The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// <summary>
/// Update kvdata of the specified player.
/// The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// </summary>
/// <param name="player_id">Player to update kvdata.</param>
/// <param name="kvdata">KVData to update.</param>
public void SetPlayerKVData(string player_id, Dictionary<string, KVDataValue> kvdata, PlayerProfileDelegate7 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | Player to update kvdata. |
| kvdata | Dictionary<string, KVDataValue> | KVData to update. |
| callback | PlayerProfileDelegate7 |
Return: void
BatchSetPlayerKVData
Perform a batch update of KVData for multiple players (max 100 players). If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// <summary>
/// Perform a batch update of KVData for multiple players (max 100 players).
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// </summary>
public void BatchSetPlayerKVData(List<PlayerKVDataGroup> kvdatas, PlayerProfileDelegate8 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| kvdatas | List<PlayerKVDataGroup> | |
| callback | PlayerProfileDelegate8 |
Return: void
IncrOneOfPlayerKVData
Perform atomic increment operation on a specified kvdata item for a specified player. [Only works on Integer/Float type keys] If the operation is successful, the callback will return the updated data.
/// <summary>
/// Perform atomic increment operation on a specified kvdata item for a specified player. [Only works on Integer/Float type keys]
/// If the operation is successful, the callback will return the updated data.
/// </summary>
/// <param name="player_id">Player to operate.</param>
/// <param name="key">Key to operate.</param>
/// <param name="increment">The increment value can be set to int32/int64/float/double.</param>
public void IncrOneOfPlayerKVData(string player_id, string key, KVDataValue increment, PlayerProfileDelegate2 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | Player to operate. |
| key | string | Key to operate. |
| increment | KVDataValue | The increment value can be set to int32/int64/float/double. |
| callback | PlayerProfileDelegate2 |
Return: void
BatchIncrOneOfPlayerKVData
Perform a batch atomic increment operation on a specified kvdata item for multiple players (max 100 players). [Only works on Integer/Float type keys] If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. For the players whose operations are successful, the callback data will contain the new value of their updated kvdata item. The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// <summary>
/// Perform a batch atomic increment operation on a specified kvdata item for multiple players (max 100 players). [Only works on Integer/Float type keys]
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// For the players whose operations are successful, the callback data will contain the new value of their updated kvdata item.
/// The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// </summary>
/// <param name="player_ids">Players to operate.</param>
/// <param name="key">Key to operate.</param>
/// <param name="increment">The increment value can be set to int32/int64/float/double.</param>
public void BatchIncrOneOfPlayerKVData(List<string> player_ids, string key, KVDataValue increment, PlayerProfileDelegate9 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_ids | List<string> | Players to operate. |
| key | string | Key to operate. |
| increment | KVDataValue | The increment value can be set to int32/int64/float/double. |
| callback | PlayerProfileDelegate9 |
Return: void
IncrPlayerKVData
Perform atomic increment operation on multiple kvdata items for a specified player. [Only works on Integer/Float type keys] If the operation is successful, the callback will return the updated data.
/// <summary>
/// Perform atomic increment operation on multiple kvdata items for a specified player. [Only works on Integer/Float type keys]
/// If the operation is successful, the callback will return the updated data.
/// </summary>
/// <param name="player_id">Player to operate.</param>
/// <param name="increments">Increments to update, key: kvdata key, value: increment of the value.</param>
public void IncrPlayerKVData(string player_id, Dictionary<string, KVDataValue> increments, PlayerProfileDelegate5 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | Player to operate. |
| increments | Dictionary<string, KVDataValue> | Increments to update, key: kvdata key, value: increment of the value. |
| callback | PlayerProfileDelegate5 |
Return: void
BatchIncrPlayerKVData
Perform a batch atomic increment operation on multiple kvdata items for multiple players (max 100 players). [Only works on Integer/Float type keys] If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. For the players whose operations are successful, the callback data will contain the new value of their updated kvdata item. The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// <summary>
/// Perform a batch atomic increment operation on multiple kvdata items for multiple players (max 100 players). [Only works on Integer/Float type keys]
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// For the players whose operations are successful, the callback data will contain the new value of their updated kvdata item.
/// The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// </summary>
/// <param name="increments">Player kvdata increments list.</param>
public void BatchIncrPlayerKVData(List<PlayerKVDataGroup> increments, PlayerProfileDelegate6 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| increments | List<PlayerKVDataGroup> | Player kvdata increments list. |
| callback | PlayerProfileDelegate6 |
Return: void
BatchIncrPlayerKVDataIdempotent
Idempotent version of BatchIncrPlayerKVData. Idempotency token could be set for each player.
/// <summary>Idempotent version of BatchIncrPlayerKVData. Idempotency token could be set for each player.</summary>
/// <param name="pgos_params">Params of BatchIncrPlayerKVDataIdempotent.</param>
public void BatchIncrPlayerKVDataIdempotent(BatchIncrPlayerKVDataIdempotentParams pgos_params, PlayerProfileDelegate10 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| pgos_params | BatchIncrPlayerKVDataIdempotentParams | Params of BatchIncrPlayerKVDataIdempotent. |
| callback | PlayerProfileDelegate10 |
Return: void
GetPlayerVersionedKVData
Query certain versioned kvdata of the specified player. The keys to be queried must contain at least one versioned key. Call 'GetMyKVData' or 'GetPlayerKVData' instead if you don't need to get the 'version' field, which is only needed when updating versioned KVData.
/// <summary>
/// Query certain versioned kvdata of the specified player.
/// The keys to be queried must contain at least one versioned key.
/// Call 'GetMyKVData' or 'GetPlayerKVData' instead if you don't need to get the 'version' field, which is only needed when updating versioned KVData.
/// </summary>
/// <param name="player_id">The player to query.</param>
/// <param name="query_keys">Keys to query.</param>
public void GetPlayerVersionedKVData(string player_id, List<string> query_keys, PlayerProfileDelegate11 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_id | string | The player to query. |
| query_keys | List<string> | Keys to query. |
| callback | PlayerProfileDelegate11 |
Return: void
BatchGetPlayerVersionedKVData
Perform a batch query of versioned KVData for multiple players (max 100 players). The keys to be queried must contain at least one versioned key. Call 'BatchGetPlayerKVData' instead if you don't need to get 'version', which is only needed when updating versioned KVData.
/// <summary>
/// Perform a batch query of versioned KVData for multiple players (max 100 players).
/// The keys to be queried must contain at least one versioned key.
/// Call 'BatchGetPlayerKVData' instead if you don't need to get 'version', which is only needed when updating versioned KVData.
/// </summary>
/// <param name="player_ids">Players to query.</param>
/// <param name="query_keys">Keys to query.</param>
public void BatchGetPlayerVersionedKVData(List<string> player_ids, List<string> query_keys, PlayerProfileDelegate12 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| player_ids | List<string> | Players to query. |
| query_keys | List<string> | Keys to query. |
| callback | PlayerProfileDelegate12 |
Return: void
SetPlayerVersionedKVData
Update versioned kvdata for the specified player. The KVData of the player to be updated must contain at least one versioned key. The 'version' needs to pass in can be obtained from the 'GetPlayerVersionedKVData' or 'BatchGetPlayerVersionedKVData' API call. If the 'version' passed in is the latest, the callback will return success along with the updated data. If the 'version' passed in is not the latest, the callback will return failure(err_code=11108, kBackendKVDataVersionMismatched (11108)) along with the current latest data, you may try again with the latest version. For other errors, please refer to the error message and the developer manual on the portal, and the callback data is invalid.
/// <summary>
/// Update versioned kvdata for the specified player.
/// The KVData of the player to be updated must contain at least one versioned key.
/// The 'version' needs to pass in can be obtained from the 'GetPlayerVersionedKVData' or 'BatchGetPlayerVersionedKVData' API call.
/// If the 'version' passed in is the latest, the callback will return success along with the updated data.
/// If the 'version' passed in is not the latest, the callback will return failure(err_code=11108, kBackendKVDataVersionMismatched (11108)) along with the current latest data, you may try again with the latest version.
/// For other errors, please refer to the error message and the developer manual on the portal, and the callback data is invalid.
/// </summary>
/// <param name="data">Versioned kvdata items that need to update. Please set version to the latest value you got for the player.</param>
public void SetPlayerVersionedKVData(PlayerKVDataGroupWithVer data, PlayerProfileDelegate13 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| data | PlayerKVDataGroupWithVer | Versioned kvdata items that need to update. Please set version to the latest value you got for the player. |
| callback | PlayerProfileDelegate13 |
Return: void
BatchSetPlayerVersionedKVData
Perform a batch update of versioned KVData for multiple players (max 100 players). The KVData of the player to be updated must contain at least one versioned key. The 'version' needs to pass in can be obtained from the 'GetPlayerVersionedKVData' or 'BatchGetPlayerVersionedKVData' API call. If all player operations are successful, the callback result is success. If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data. If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data. The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// <summary>
/// Perform a batch update of versioned KVData for multiple players (max 100 players).
/// The KVData of the player to be updated must contain at least one versioned key.
/// The 'version' needs to pass in can be obtained from the 'GetPlayerVersionedKVData' or 'BatchGetPlayerVersionedKVData' API call.
/// If all player operations are successful, the callback result is success.
/// If some player operations succeed while others fail, the callback result is success, and the reasons for the failed players can be obtained from the callback data.
/// If all player operations fail, the callback result is failure (kBackendAllFailed (14)), and the reasons for the failed players can be obtained from the callback data.
/// The update operation for a player's KVData will either succeed as a whole or fail as a whole.
/// </summary>
/// <param name="data">Versioned kvdata items that need to update. Please set version to the latest value you got for the player.</param>
public void BatchSetPlayerVersionedKVData(List<PlayerKVDataGroupWithVer> data, PlayerProfileDelegate14 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| data | List<PlayerKVDataGroupWithVer> | Versioned kvdata items that need to update. Please set version to the latest value you got for the player. |
| callback | PlayerProfileDelegate14 |
Return: void
BatchOpenIDToPlayerID
Batch transform playerID of PGOS to account openID of external platform. (max 100 OpenIDs)
/// <summary>Batch transform playerID of PGOS to account openID of external platform. (max 100 OpenIDs)</summary>
/// <param name="account_provider">Account service provider: 0 means FAS, 1 means INTL, 2 means MSDK, 3 means WeGame.</param>
/// <param name="account_open_ids">Account openIDs of external platform.</param>
public void BatchOpenIDToPlayerID(Int32 account_provider, List<string> account_open_ids, PlayerProfileDelegate15 callback);
Parameters:
| Param | Type | Description |
|---|---|---|
| account_provider | Int32 | Account service provider: 0 means FAS, 1 means INTL, 2 means MSDK, 3 means WeGame. |
| account_open_ids | List<string> | Account openIDs of external platform. |
| callback | PlayerProfileDelegate15 |
Return: void
All Delegates
public delegate void PlayerProfileDelegate0(PgosResult a0, PlayerDetail a1);
public delegate void PlayerProfileDelegate1(PgosResult a0, BatchGetPlayerInfoSvrRsp a1);
public delegate void PlayerProfileDelegate2(PgosResult a0, OnePlayerKVData a1);
public delegate void PlayerProfileDelegate3(PgosResult a0, PlayerKVDataGroupWithFails a1);
public delegate void PlayerProfileDelegate4(PgosResult a0, BatchPlayerKVDataGroupWithFails a1);
public delegate void PlayerProfileDelegate5(PgosResult a0, PlayerKVDataGroup a1);
public delegate void PlayerProfileDelegate6(PgosResult a0, BatchPlayerKVDataGroup a1);
public delegate void PlayerProfileDelegate7(PgosResult a0);
public delegate void PlayerProfileDelegate8(PgosResult a0, BatchPlayerOperationResult a1);
public delegate void PlayerProfileDelegate9(PgosResult a0, BatchIncrOneOfPlayerKVDataRsp a1);
public delegate void PlayerProfileDelegate10(PgosResult a0, BatchIncrPlayerKVDataIdempotentResult a1);
public delegate void PlayerProfileDelegate11(PgosResult a0, PlayerKVDataGroupWithVerAndFails a1);
public delegate void PlayerProfileDelegate12(PgosResult a0, BatchPlayerKVDataGroupWithVerAndFails a1);
public delegate void PlayerProfileDelegate13(PgosResult a0, PlayerKVDataGroupWithVer a1);
public delegate void PlayerProfileDelegate14(PgosResult a0, BatchSetPlayerVersionedKVDataRsp a1);
public delegate void PlayerProfileDelegate15(PgosResult a0, BatchOpenIDToPlayerIDRsp a1);
Type Reference:
- PgosResult
- PlayerDetail
- BatchGetPlayerInfoSvrRsp
- OnePlayerKVData
- PlayerKVDataGroupWithFails
- BatchPlayerKVDataGroupWithFails
- PlayerKVDataGroup
- BatchPlayerKVDataGroup
- BatchPlayerOperationResult
- BatchIncrOneOfPlayerKVDataRsp
- BatchIncrPlayerKVDataIdempotentResult
- PlayerKVDataGroupWithVerAndFails
- BatchPlayerKVDataGroupWithVerAndFails
- PlayerKVDataGroupWithVer
- BatchSetPlayerVersionedKVDataRsp
- BatchOpenIDToPlayerIDRsp