| | |
| | | if playerID not in PyGameData.g_fbHelpBattleRecord:
|
| | | return
|
| | | unNotifyRecordList = PyGameData.g_fbHelpBattleRecord.pop(playerID)
|
| | | SendMapServer_FBHelpBattleRecord(curPlayer, unNotifyRecordList)
|
| | | SendMapServer_FBHelpBattleRecord(curPlayer, unNotifyRecordList, True)
|
| | | return
|
| | |
|
| | | def OnMinuteProcess():
|
| | |
| | |
|
| | | return
|
| | |
|
| | | def SendMapServer_FBHelpBattleRecord(curPlayer, syncHelpRecordList):
|
| | | def SendMapServer_FBHelpBattleRecord(curPlayer, syncHelpRecordList, isLogin=False):
|
| | | if not syncHelpRecordList:
|
| | | return
|
| | |
|
| | |
| | | for record in syncHelpRecordList:
|
| | | helpRecordList.append([record.callPlayerID, record.callPlayerName, record.mapID, record.funcLineID,
|
| | | record.xianyuanCoinAdd, record.relation, record.vipLV, record.recordTime])
|
| | | addXianyuanCoinMsg = str(["HelpRecord", helpRecordList])
|
| | | addXianyuanCoinMsg = str(["HelpRecord", helpRecordList, isLogin])
|
| | | curPlayer.MapServer_QueryPlayerResult(0, 0, 'FBHelpBattle', addXianyuanCoinMsg, len(addXianyuanCoinMsg))
|
| | | GameWorld.DebugLog(" MapServer_QueryPlayerResult %s" % addXianyuanCoinMsg, curPlayer.GetPlayerID())
|
| | | return
|