SetRewardExtraJson
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see SetRewardExtraJson for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see SetRewardExtraJson for Unreal Engine 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 the linking rewards and first login rewards, see Rewards Configuration.
Function definition
public static string SetRewardExtraJson(string extraJson = "{}")
Input parameters
Parameter | Type | Description |
---|---|---|
extraJson | string | Extended field for reward which matches IDIP rules For more information, see SendBindReward API ExtraJson - Additional Parameter JSON String |
Code sample
INTLAPI.SetRewardExtraJson("{}");