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.
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
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("{}");