SetProvision
AndroidiOSWindows
If you were looking for the method for use with Unity, see SetProvision for Unity SDK.
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
Parameter | Type | Description |
---|---|---|
UserAgreedGameTos | FString | Version of the Terms of Service the player agreed to, pass null if player does not agree |
UserAgreedGamePP | FString | Version of the Privacy Policy the player agreed to, pass null if player does not agree |
UserAgreedLiPP | FString | Version of the LEVEL INFINITE PASS Privacy Policy the player agreed to, pass null if player does not agree |
UserAgreedLiDt | FString | Version of the Data Transfer agreement the player agreed to, pass null if player does not agree |
UserAgreedLiTos | FString | Version of the LEVEL INFINITE PASS Terms of Service the player agreed to, pass null if player does not agree |
IsRecvEmail | int | Whether 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();