From e95c880a51289fb5f4f54b1a24ff6d590dceef0d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 01 二月 2021 16:56:00 +0800
Subject: [PATCH] 8718 【主干】【BT2】充值前向服务器咨询是否可充值封包

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 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 0d0b93c..e55f5da 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -163,6 +163,19 @@
         Sync_DayFreeGoldGiftState(curPlayer)
     return
 
+#// A1 23 查询充值次数 #tagCMQueryCoinToGoldCount
+#
+#struct tagCMQueryCoinToGoldCount
+#{
+#    tagHead        Head;
+#    BYTE        RecordID;    //充值记录ID,也就是充值ID,发0则查全部
+#};
+def OnQueryCoinToGoldCount(index, clientData, tick):
+    curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
+    recordID = clientData.RecordID
+    Sync_CoinToGoldCountInfo(curPlayer, [recordID] if recordID else [])
+    return
+
 ## 创角赠送
 #  @param curPlayer 玩家实例
 #  @return None

--
Gitblit v1.8.0