Send Bound Package (SendBindReward)
Send the first login reward package to the player. For details, see First Login Package.
Function Definition
public static void SendBindReward(string event_id, string extraJson = "{}");
Parameter Instructions
| Parameters | Type | Explanation |
|---|---|---|
| event_id | string | Package Event ID Phone: 10000 Email: 110001 |
| extraJson | String | Package extension field used to match IDIP rules For more information, see Extra Parameter JSON String. |
Extra Parameters JSON String
The extension field of the package must match IDIP rules, formatted as:
{
"area_id":xx, //int type
"role_id":"xx", //string type
"plat_id":xx, //int type
"zone_id":xx //int type
}
Observers
The callback handling interface is BindRewardResultObserver.The callback data structure is BindRewardResult.
The callback ID is INTL_TOOLS_SEND_BINDREWARD.
Code Sample
LevelInfinite.SendBindReward("110001", "{}");