| | |
| | | import PlayerCompensation
|
| | | import IpyGameDataPY
|
| | | import GameWorld
|
| | | import CommFunc
|
| | |
|
| | | def OnActIDChange(cfgID, dbTemplateID, state):
|
| | | ## 活动ID变更
|
| | |
| | |
|
| | | # 结算时排序并保存榜单数据流向
|
| | | billboardObj.SortData()
|
| | | billboardObj.SaveDRData()
|
| | |
|
| | | GameWorld.Log("结算跨服充值排行奖励: billboardType=%s,cfgID=%s,dbTemplateID=%s,billboardDataCount=%s"
|
| | | % (billboardType, cfgID, dbTemplateID, billboardDataCount))
|
| | |
| | | for ipyData in orderIpyDataList:
|
| | | orderA = ipyData.GetOrderA()
|
| | | orderB = ipyData.GetOrderB()
|
| | | ctgAtleast = ipyData.GetCTGAtleast()
|
| | | ctgAtleast = CommFunc.RMBToCoin(ipyData.GetCTGAtleast())
|
| | | awardItemList = ipyData.GetAwardItemList()
|
| | | orderCountTotal = orderB - orderA + 1 # 奖励名次数量
|
| | | orderCount = 0
|