Skip to main content

Set Provision

AndroidiOSPC

If you are using the Unity engine, see SetProvision in the Unity SDK.

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​

ParametersTypeExplanation
UserAgreedGameTosFStringVersion of the service terms agreed by the player, if not agreed, pass an empty value.
UserAgreedGamePPFStringVersion of the privacy policy agreed by the player, if not agreed, pass an empty value.
UserAgreedLiPPFStringVersion of the LEVEL INFINITE PASS privacy policy agreed by the player, if not agreed, pass an empty value.
UserAgreedLiDtFStringVersion of the data transfer policy agreed by the player, if not agreed, pass an empty value.
UserAgreedLiTosFStringVersion of the LEVEL INFINITE PASS service terms agreed by the player, if not agreed, pass an empty value.
IsRecvEmailintWhether 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();