Modify account with verification code (ModifyAccountWithVerifyCode)
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ModifyAccountWithVerifyCode(
const FString OldAccount,
const FString OldAccountVerifyCode,
const FString OldPhoneAreaCode,
const FString NewAccount,
const FString NewAccountVerifyCode,
const FString NewPhoneAreaCode,
const FString ExtraJson = "{}");
Parameter Instructions
| Name | Type | Explanation |
|---|---|---|
| OldAccount | FString | Old account |
| OldAccountVerifyCode | FString | Verification code for old account |
| OldPhoneAreaCode | FString | Phone area code for the old account; leave empty if the account is an email. |
| NewAccount | FString | New account |
| NewAccountVerifyCode | FString | Verification code for new account |
| NewPhoneAreaCode | FString | Phone area code for the new account, leave empty if it's an email. |
| ExtraJson | FString | Extended information |
Observers
The callback handler interface is AuthAccountResultObserver.The callback data structure is AccountResult.
Callback ID is kMethodIDAuthModifyAccount.
Code example
UINTLSDKAPI::ModifyAccountWithVerifyCode("oldaccount@email.com", "12345", "", "newaccount@email.com", "56789", "");