Skip to main content

SetRewardExtraJson

AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see SetRewardExtraJson for Unreal Engine 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

public static string SetRewardExtraJson(string extraJson = "{}")

Input parameters

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

Code sample

INTLAPI.SetRewardExtraJson("{}");