| | |
| | | SendEventPack("FixVersion_%s" % fixName, dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | def DR_ADAward(curPlayer, adID):
|
| | | ## 广告奖励流向
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(), 'ADID':adID}
|
| | | SendEventPack("ADAward", dataDict)
|
| | | return
|
| | |
|
| | | ## 玩家升级
|
| | | # @param curPlayer: 玩家实例
|
| | | # @param playerLV: 玩家等级
|
| | |
| | | failDRDict.update(dataDict)
|
| | | SendEventPack("FightPass_%s" % mapID, failDRDict, checkBatServer=False)
|
| | | #SendEventPack("FightFail_%s" % mapID, failDRDict, checkBatServer=False)
|
| | | return
|
| | |
|
| | | ##累计登陆礼包
|
| | | def DR_LoginDayAward(curPlayer, dayIndex):
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), |
| | | 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(),
|
| | | "DayIndex":dayIndex
|
| | | }
|
| | | |
| | | SendEventPack("LoginDayAward", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ##等级礼包
|
| | | def DR_LVAward(curPlayer, awardID):
|
| | | dataDict = {'PlayerID':curPlayer.GetPlayerID(), |
| | | 'PlayerName':curPlayer.GetPlayerName(), |
| | | 'AccID':curPlayer.GetAccID(),
|
| | | "AwardID":awardID
|
| | | }
|
| | | |
| | | SendEventPack("LVAward", dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | ## GM执行命令操作
|