| | |
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import PlayerCoin
|
| | | import PlayerActRechargePrize
|
| | | import PyGameData
|
| | | import ShareDefine
|
| | |
|
| | |
|
| | | #逻辑实现
|
| | |
| | | def OnExec(curPlayer, msgList):
|
| | | curPlayer.SetChangeCoinPointTotal(0, 0)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_GoldGiftFirstRecord, 0)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FirstGoldServerDay, 0)
|
| | | PlayerGoldGift.Sync_FirstGoldInfo(curPlayer)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FirstGoldTry, 0)
|
| | | # 重置今日已充值数
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_DailyGoldChargeCnt, 0)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_SuperGiftStartTime, 0)
|
| | | # 重置充值次数信息
|
| | | syncRecordIDList = []
|
| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TodayCTGCount % recordID, 0)
|
| | | if syncRecordIDList:
|
| | | PlayerCoin.Sync_CoinToGoldCountInfo(curPlayer, syncRecordIDList)
|
| | | |
| | | # 重置充值返利活动
|
| | | actInfo = PyGameData.g_operationActionDict.get(ShareDefine.OperationActionName_RechargePrize, {})
|
| | | if actInfo.get(ShareDefine.ActKey_State, 0):
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RechargePrizeID, 0)
|
| | | PlayerActRechargePrize.__CheckPlayerRechargePrizeAction(curPlayer)
|
| | | |
| | | return
|
| | |
|