| | |
| | | #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执行命令操作
|
| | | # @param playerID: 玩家ID
|
| | | # @param playerName:玩家名字
|