From 95ed566251586a404ed667336cc31dd318c773bd Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 15 十一月 2024 16:21:05 +0800
Subject: [PATCH] 10311 【bt】聊天限制(A110增加同步真实充值信息)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
index c12ae4f..9aaaa08 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -702,6 +702,7 @@
         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()
@@ -865,11 +866,14 @@
             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()

--
Gitblit v1.8.0