Set Provision
Save the version of legal terms agreed by the player.Call this interface when the OpenID is generated upon login and the player checks all legal terms.
Function Definition
UFUNCTION(BlueprintCallable, Category = "LevelInfinite")
static bool SetProvision(const FString UserAgreedGameTos,
const FString UserAgreedGamePP,
const FString UserAgreedLiPP,
const FString UserAgreedLiDt,
const FString UserAgreedLiTos,
const int IsRecvEmail);
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| UserAgreedGameTos | FString | Version of the service terms agreed by the player, if not agreed, pass an empty value. |
| UserAgreedGamePP | FString | Version of the privacy policy agreed by the player, if not agreed, pass an empty value. |
| UserAgreedLiPP | FString | Version of the LEVEL INFINITE PASS privacy policy agreed by the player, if not agreed, pass an empty value. |
| UserAgreedLiDt | FString | Version of the data transfer policy agreed by the player, if not agreed, pass an empty value. |
| UserAgreedLiTos | FString | Version of the LEVEL INFINITE PASS service terms agreed by the player, if not agreed, pass an empty value. |
| IsRecvEmail | int | Whether to receive marketing emails |
Observers
The callback interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The Callback Method ID is kMethodIDAuthernetSetProfile.
Code example
ULevelInfiniteAPI::GetLIUidAndTokenForAdultCert();