| | |
| | | SendEventPack("CollectNPCOK", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ## 玩家领取充值特惠活动奖励
|
| | | # @param curPlayer: 玩家实例
|
| | | # @param actionID: 活动id
|
| | | # @param actionNum: 活动编号
|
| | | # @param itemID: 物品id
|
| | | # @param itemCnt: 物品数量
|
| | | # @param isPutIn: 是否放入
|
| | | # @param prizeIndex: 奖励中的第x种奖励
|
| | | # @return |
| | | def DR_PlayerTeHuiRechargePrize(curPlayer, actionID, actionNum, itemID, itemCnt, isPutIn, prizeIndex):
|
| | | #MySql不识别 True False,改成1和0
|
| | | isPutIn = 1 if isPutIn else 0
|
| | | |
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(), 'ActionID':actionID, 'ActionNum':actionNum, |
| | | 'IsPutIn':isPutIn, "ItemID":itemID, "ItemCount":itemCnt, 'PrizeIndex':prizeIndex}
|
| | | |
| | | SendEventPack("TeHuiRechargePrize", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | |
|
| | | ## 领取投资回报
|
| | | # @param curPlayer: 玩家实例
|