Skip to main content

SetProvision

AndroidiOSWindows
If you were looking for the method for use with Unity, see SetProvision for Unity SDK.

Save version of the terms a player agrees to. After logging in to generate OpenID, check the terms and call this API.

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);

Input parameters

ParameterTypeDescription
UserAgreedGameTosFStringVersion of the Terms of Service the player agreed to, pass null if player does not agree
UserAgreedGamePPFStringVersion of the Privacy Policy the player agreed to, pass null if player does not agree
UserAgreedLiPPFStringVersion of the LEVEL INFINITE PASS Privacy Policy the player agreed to, pass null if player does not agree
UserAgreedLiDtFStringVersion of the Data Transfer agreement the player agreed to, pass null if player does not agree
UserAgreedLiTosFStringVersion of the LEVEL INFINITE PASS Terms of Service the player agreed to, pass null if player does not agree
IsRecvEmailintWhether to receive marketing emails

Observers

The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.

The callback methodID is kMethodIDAuthSetProvision.

Code sample

ULevelInfiniteAPI::GetLIUidAndTokenForAdultCert();