| | |
| | | # 流向记录
|
| | | if mapID != ChConfig.Def_FBMapID_Main and reqPlayerID:
|
| | | DataRecordPack.DR_FightStat(reqPlayerID, mapID, funcLineID, turnFight.isWin, turnFight.turnNum, turnFight.turnMax,
|
| | | heroCount, turnFight.costTime, statInfo, drLineupInfo)
|
| | | heroCount, turnFight.costTime, statInfo, drLineupInfo, guid)
|
| | | return
|
| | |
|
| | | #// B4 14 查看战报 #tagCSTurnFightReportView
|
| | |
| | | SendEventPack("FBPass_%s" % mapID, dataDict, curPlayer)
|
| | | return
|
| | |
|
| | | def DR_FightStat(reqPlayerID, mapID, funcLineID, isWin, turnNum, turnMax, heroCount, costTime, statInfo, drLineupInfo):
|
| | | def DR_FightStat(reqPlayerID, mapID, funcLineID, isWin, turnNum, turnMax, heroCount, costTime, statInfo, drLineupInfo, guid):
|
| | | ## 战斗统计
|
| | | dataDict = {'PlayerID':reqPlayerID, 'mapID':mapID, 'funcLineID':funcLineID, 'isWin':isWin,
|
| | | 'turnNum':turnNum, 'turnMax':turnMax, 'heroCount':heroCount, 'costTime':costTime}
|
| | | 'turnNum':turnNum, 'turnMax':turnMax, 'heroCount':heroCount, 'costTime':costTime, 'guid':guid}
|
| | | SendEventPack("FightTime", dataDict, checkBatServer=False)
|
| | |
|
| | | #战斗失败的记录明细信息
|
| | | if not isWin:
|
| | | failDRDict = {"statInfo":statInfo, "drLineupInfo":drLineupInfo}
|
| | | failDRDict.update(dataDict)
|
| | | SendEventPack("FightFail_%s" % mapID, failDRDict, checkBatServer=False)
|
| | | #战斗过关记录明细信息
|
| | | if isWin:
|
| | | mapPassDict = IpyGameDataPY.GetFuncEvalCfg("BattleRecord", 1, {})
|
| | | if mapID in mapPassDict:
|
| | | drLineID = mapPassDict[mapID]
|
| | | if funcLineID >= drLineID:
|
| | | failDRDict = {"statInfo":statInfo, "drLineupInfo":drLineupInfo}
|
| | | failDRDict.update(dataDict)
|
| | | SendEventPack("FightPass_%s" % mapID, failDRDict, checkBatServer=False)
|
| | | #SendEventPack("FightFail_%s" % mapID, failDRDict, checkBatServer=False)
|
| | | return
|
| | |
|
| | | ##累计登陆礼包
|