8886 【BT2】【后端】线下活动支持(CTGOK流向增加记录VIP等级经验、开服天信息;方便查询新服直升VIP等级用)
| | |
| | | goldAfter = curPlayer.GetGold()
|
| | | changeCoinPointAfter = curPlayer.GetChangeCoinPointTotal()
|
| | | bourseMoneyAfter = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney)
|
| | | addDRDict.update({"gold":[goldBefore, goldAfter], "changeCoinPoint":[changeCoinPointBefore, changeCoinPointAfter], "todayCTGCoinTotal":todayCTGCoinTotal,
|
| | | "bourseMoney":[bourseMoneyBefore, bourseMoneyAfter], "addGold":addGold, "prizeGold":prizeGold, "giveItemList":giveItemList, "coinType":coinType,
|
| | | "coinExp":coinExp})
|
| | | |
| | | DataRecordPack.DR_CTGOK(curPlayer, addDRDict)
|
| | |
|
| | | #---充值成功后逻辑---
|
| | | # 功能统一以分存储记录,玩家字典不支持存小数
|
| | |
| | | PlayerFeastTravel.AddFeastTravelTaskValue(curPlayer, ChConfig.Def_FeastTravel_CTGExp, addVIPExp)
|
| | | #投资
|
| | | if ctgIpyData:
|
| | | PlayerGoldInvest.InvestByCTG(curPlayer, ctgIpyData.GetRecordID()) |
| | | PlayerGoldInvest.InvestByCTG(curPlayer, ctgIpyData.GetRecordID())
|
| | | |
| | | serverDay = GameWorld.GetGameWorld().GetGameWorldDictByKey(ShareDefine.Def_Notify_WorldKey_ServerDay) + 1
|
| | | addDRDict.update({"gold":[goldBefore, goldAfter], "changeCoinPoint":[changeCoinPointBefore, changeCoinPointAfter], "todayCTGCoinTotal":todayCTGCoinTotal,
|
| | | "bourseMoney":[bourseMoneyBefore, bourseMoneyAfter], "addGold":addGold, "prizeGold":prizeGold, "giveItemList":giveItemList, "coinType":coinType,
|
| | | "coinExp":coinExp, "addVIPExp":addVIPExp, "VIPLv":curPlayer.GetVIPLv(), "ServerDay":serverDay})
|
| | | DataRecordPack.DR_CTGOK(curPlayer, addDRDict)
|
| | | GameWorld.Log("Billing: coinType=%s,eventName=%s, %s" % (coinType, eventName, addDRDict), curPlayer.GetPlayerID())
|
| | | return
|
| | |
|