| | |
| | | orderInfo = chargeInfo.GetOrderInfo() # 商品编号
|
| | | orderID = chargeInfo.GetOrderID() #订单号,兑换成功后清除
|
| | | isAddBourseMoney = chargeInfo.GetIsAddBourseMoney()
|
| | | if orderID:
|
| | | curPlayer.SendDBFinishRecharge(orderID)
|
| | | |
| | | appID = chargeInfo.GetAppID()
|
| | | if not appID:
|
| | | appID = GameWorld.GetPlayerPlatform(curPlayer)
|
| | |
| | |
|
| | | #充值成功主动查询一次,无充值数量就不会继续查询
|
| | | if orderID:
|
| | | curPlayer.SendDBFinishRecharge(orderID)
|
| | | #curPlayer.SendDBFinishRecharge(orderID)
|
| | | # 充值成功回报客户端,SDK等会用到
|
| | | Sync_CoinToGoldReport(curPlayer, orderID, orderCoin)
|
| | |
|
| | |
| | | PlayerControl.SendMailByKey("", [curPlayer.GetPlayerID()], giveItemList)
|
| | | else:
|
| | | for itemID, itemCount, isBind in giveItemList:
|
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, isBind, [IPY_GameWorld.rptItem], |
| | | ItemControler.GivePlayerItem(curPlayer, itemID, itemCount, 0, [IPY_GameWorld.rptItem], |
| | | event=[ChConfig.ItemGive_CTG, True, addDRDict])
|
| | | if notifyMark:
|
| | | mainItemID = giveItemList[0][0]
|