| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CTGRealToday, ctgRealToday)
|
| | | ctgRealTotal = min(ctgRealTotal + orderCoin, ChConfig.Def_UpperLimit_DWord)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_CTGRealTotal, ctgRealTotal)
|
| | | Sync_CoinToGoldCountInfo(curPlayer, [])
|
| | |
|
| | | notifyMark = ctgIpyData.GetNotifyMark() if ctgIpyData else ""
|
| | | goldBefore = curPlayer.GetGold()
|
| | |
| | | ipyData = ipyDataMgr.GetCTGByIndex(i)
|
| | | syncRecordIDList.append(ipyData.GetRecordID())
|
| | |
|
| | | if not syncRecordIDList:
|
| | | return
|
| | | #if not syncRecordIDList:
|
| | | # return
|
| | |
|
| | | countInfoPack = ChPyNetSendPack.tagMCCoinToGoldCountInfo()
|
| | | countInfoPack.Clear()
|
| | | countInfoPack.RealToday = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CTGRealToday)
|
| | | countInfoPack.RealTotal = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CTGRealTotal)
|
| | | countInfoPack.RealFirstTime = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_CTGRealFirstTime)
|
| | | countInfoPack.CTGCountInfoList = []
|
| | | for recordID in syncRecordIDList:
|
| | | countInfo = ChPyNetSendPack.tagMCCoinToGoldCount()
|