Set User Profile (ComplianceSetUserProfile, V1.16 Deprecated)
Set user login information and configuration, supporting iTOP/MSDKV5/Player Network SDK accounts.
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ComplianceSetUserProfile(
const FString GameId,
const FString OpenId,
const FString Token,
const int32 ChannelId,
const FString region);
Input Parameters
caution
The user's country or region code must strictly adhere to the ISO 3166-1 standard.For example, when filling in Afghanistan, it must be written as 004 instead of 4.
| Name | Type | Explanation |
|---|---|---|
| GameId | FString | Game ID configuration for iTOP/MSDKV5/Player Network SDK, available in the configuration file. |
| OpenId | FString | OpenID of iTOP/MSDK/Player Network SDK, obtainable from loginresult or authresult. |
| Token | FString | Token of iTOP/MSDK/Player Network SDK, obtainable from loginresult or authresult. |
| ChannelId | int32 | ChannelID of iTOP/MSDK/Player Network SDK, obtainable from loginresult or authresult. |
| Region | FString | ISO 3166-1 numeric country or region code For example, 156 represents China, 040 represents Austria |
Return values
- Returns
trueif the user profile is valid. - Returns
falseif the user profile is invalid.
Code Sample
bool succ = UINTLSDKAPI::ComplianceSetUserProfile(gameID, openID, token, channelID, region);