Skip to main content

SetRewardExtraJson

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

Call the SetRewardExtraJson API first when entering the lobby (the character has been created), then call SendBindReward API. The SDK will internally determine whether the player is able to receive the reward.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void SetRewardExtraJson(const FString extraJson);

Input parameters

ParameterTypeDescription
extraJsonFStringExtended field for reward which matches IDIP rules
For more information, see SendBindReward API ExtraJson - Additional Parameter JSON String

Code sample

UINTLSDKAPI::SetRewardExtraJson("{}");