SetRewardExtraJson
AndroidiOSWindows
If you were looking for the method for use with Unity, see SetRewardExtraJson for Unity SDK.
If you were looking for the method for use with Unity, see SetRewardExtraJson for Unity SDK.
When accessing the lobby after a character has been created, call SetRewardExtraJson
first before calling SendBindReward
. The SDK will determine whether the player is able to receive rewards.
For more information about linking rewards and first login rewards, see Rewards Configuration.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void SetRewardExtraJson(const FString extraJson);
Input parameters
Parameter | Type | Description |
---|---|---|
extraJson | FString | Extended field for reward which matches IDIP rules For more information, see SendBindReward API ExtraJson - Additional Parameter JSON String |
Code sample
UINTLSDKAPI::SetRewardExtraJson("{}");