| | |
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "UpdateBillboardPlayerTruck",
|
| | | '%s' % (cmdList), len(str(cmdList)))
|
| | | return
|
| | |
|
| | | ## 更新充值排行特惠排行榜
|
| | | # @param playerID: 玩家ID
|
| | | # @return: |
| | | def UpdateRechargeRankBillboard(curPlayer, actionID, actionNum, updateGold):
|
| | | # if GameWorld.IsGM(curPlayer):
|
| | | # #GM不上榜
|
| | | # return
|
| | | |
| | | #排行榜需要数据[玩家ID, 玩家名字, 玩家职业, 击杀数]
|
| | | playerID = curPlayer.GetID()
|
| | | playerName = curPlayer.GetName()
|
| | | playerOpInfo = curPlayer.GetOperateInfo()
|
| | | playerJob = curPlayer.GetJob()
|
| | | playerLV = curPlayer.GetLV()
|
| | | familyName = curPlayer.GetFamilyName()
|
| | | GameWorld.DebugLog("更新特惠充值排行榜: actionID=%s,actionNum=%s,updateGold=%s" |
| | | % (actionID, actionNum, updateGold), curPlayer.GetPlayerID())
|
| | | sendMsg = '%s' % ([playerID, playerName, playerOpInfo, playerJob, playerLV, familyName, actionID, actionNum, updateGold]) |
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'UpdRechargeRankBillboard', \
|
| | | sendMsg, len(sendMsg))
|
| | | return
|
| | |
|
| | | ## 更新消费排行特惠排行榜
|
| | | # @param playerID: 玩家ID
|
| | | # @return: |
| | | def UpdateCostRankBillboard(curPlayer, actionID, actionNum, updateGold):
|
| | | # if GameWorld.IsGM(curPlayer):
|
| | | # #GM不上榜
|
| | | # return
|
| | | |
| | | #排行榜需要数据[玩家ID, 玩家名字, 玩家职业, 击杀数]
|
| | | playerID = curPlayer.GetID()
|
| | | playerName = curPlayer.GetName()
|
| | | playerOpInfo = curPlayer.GetOperateInfo()
|
| | | playerJob = curPlayer.GetJob()
|
| | | playerLV = curPlayer.GetLV()
|
| | | familyName = curPlayer.GetFamilyName()
|
| | | GameWorld.DebugLog("更新特惠消费排行榜: actionID=%s,actionNum=%s,updateGold=%s" |
| | | % (actionID, actionNum, updateGold), curPlayer.GetPlayerID())
|
| | | sendMsg = '%s' % ([playerID, playerName, playerOpInfo, playerJob, playerLV, familyName, actionID, actionNum, updateGold]) |
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'UpdCostRankBillboard', \
|
| | | sendMsg, len(sendMsg))
|
| | | return
|
| | |
|
| | | ##更新玩家充值排行榜
|
| | | # @param curPlayer 玩家实例
|