From b9bef849ab19b8a3d6e889e82c687eec736cbd2a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 10 十月 2025 20:42:29 +0800
Subject: [PATCH] 66 【公会】基础主体-服务端(徽章旗帜、旗号;捐献;公会加经验、加贡献度;搜索支持公会编号;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py |  130 +++---------------------------------------
 1 files changed, 11 insertions(+), 119 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
index 014408a..3d303c4 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py
@@ -379,27 +379,6 @@
     
     return drDict
 
-## 玩家充值后的点券信息及vip等级
-#  @param curPlayer: 玩家实例
-#  @param changeCoin: 兑换的点券数
-#  @param totaChangelCoin: 总兑换点券数
-#  @param prizeCoin: 赠送点券数
-#  @param totalPrizeCoin: 总赠送点券数
-#  @param playerVIPLV: vip等级
-#  @param crazyCoin: 额为赠送数
-#  @return: None
-def DR_PlayerCoinAfterCharge(curPlayer, changeCoin, totaChangelCoin, prizeCoin, 
-                             totalPrizeCoin, playerVIPLV, crazyCoin, orderID):
-    
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(), 'ChangeCoin':changeCoin, 'TotaChangelCoin':totaChangelCoin,
-                'PrizeCoin':prizeCoin, 'TotalPrizeCoin':totalPrizeCoin, 'VIPLv':playerVIPLV, 
-                "CrazyCoin":crazyCoin, 'QueryOrderID':orderID}
-
-    #发送封包
-    SendEventPack("PlayerCoinAfterCharge", dataDict, curPlayer)
-    return
-
 ## 玩家升级
 #  @param curPlayer: 玩家实例
 #  @param playerLV: 玩家等级
@@ -746,8 +725,8 @@
         SendEventPack("UseCurrency_%s" % moneyType, dataDict, curPlayer)
        
     #战盟贡献
-    elif moneyType == ShareDefine.TYPE_Price_Family_Contribution:
-        SendEventPack("UseFamilyContribution", dataDict, curPlayer)
+    #elif moneyType == ShareDefine.TYPE_Price_Family_Contribution:
+    #    SendEventPack("UseFamilyContribution", dataDict, curPlayer)
                  
     return
 
@@ -985,37 +964,6 @@
     SendEventPack("PlayerFamily_%s"%eventName, dataDict, curPlayer)
     return
 
-
-## 获得威望值
-#  @param curPlayer 玩家实例
-#  @param addPrestige 添加值
-#  @param addType 原因
-#  @return
-def DR_GetPrestigeValue(curPlayer, addPrestige, addType):
-    return
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(),
-                "Prestige":addPrestige, "TotalPrestige":PlayerControl.GetPrestige(curPlayer), "Type":addType}
-    
-    SendEventPack("GetPrestigeValue", dataDict, curPlayer)
-    return
-
-
-## 失去威望值
-#  @param curPlayer 玩家实例
-#  @param addPrestige 添加值
-#  @param addType 原因
-#  @return
-def DR_LostPrestigeValue(curPlayer, addPrestige, addType):
-    return
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(),
-                "Prestige":addPrestige, "TotalPrestige":PlayerControl.GetPrestige(curPlayer), "Type":addType}
-    
-    SendEventPack("LostPrestigeValue", dataDict, curPlayer)
-    return
-
-
 ## 记录错误信息
 #  @param info: 错误信息
 #  @param playerID: 玩家ID
@@ -1044,24 +992,6 @@
     #发送封包
     SendEventPack("OneTimeCoinGiveGold", dataDict, curPlayer)
     return
-
-
-## 增加玩家家族活跃度
-#  @param curPlayer: 玩家实例
-#  @param addValue: 增加值
-#  @param curValue: 增加后值
-#  @param reason:增加原因
-#  @return 
-def DR_AddPlayerFamilyActiveValue(curPlayer, addValue, curValue, reason):
-    return
-
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(),
-                'addValue':addValue, 'FamilyActiveValue':curValue, 'Reason':reason}
-    #发送封包
-    SendEventPack("AddPlayerFamilyActiveValue", dataDict, curPlayer)
-    return
-
 
 ## 宠物加点
 #  @param curPlayer: 玩家实例
@@ -1124,22 +1054,6 @@
     
     #发送封包
     SendEventPack("PlayerDead", dataDict, curPlayer)
-    return
-
-
-## 给存奖励表物品
-#  @param curPlayer: 玩家
-#  @param rewardType: 奖励类型
-#  @param itemID: 物品ID
-#  @param itemCnt: 物品个数
-#  @return
-def DR_PlayerGetReward(curPlayer, rewardType, itemID, itemCnt):
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), "PlayerName":curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(), 'itemID':itemID, 'itemCnt':itemCnt,
-                'rewardType':rewardType}
-    
-    #发送封包
-    SendEventPack("PlayerGetReward", dataDict, curPlayer)
     return
 
 ## 申请加入贵宾俱乐部
@@ -1360,19 +1274,6 @@
     SendEventPack("PlayerSubmit_%s" % eventName, dataDict, curPlayer)
     return
 
-## 资源找回记录
-#  @param curPlayer
-#  @return: None
-def DR_PlayerRecover(curPlayer, recoverWay, recoverCntDict, totalExp, totalMoney, totalSP, totalItemDict):
-    
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(), 'recoverWay':recoverWay, 'recoverCntDict':recoverCntDict,
-                'totalExp':totalExp, 'totalMoney':totalMoney, 'totalSP':totalSP, 'totalItemDict':totalItemDict}
-
-    #发送封包
-    SendEventPack("PlayerRecover", dataDict, curPlayer)
-    return
-
 def DR_GlobalDropCD(curPlayer, npcID, itemID):
     # 全局掉落CD掉落记录
     dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
@@ -1388,23 +1289,6 @@
                 'ItemID':itemID, 'KilledCnt':killedCnt, 'DropRate':dropRate}
     #发送封包
     SendEventPack("GlobalDropRate", dataDict, curPlayer)
-    return
-
-def DR_MagicWeaponExp(curPlayer, mwID, succID, newExp, needExp):
-    # 法宝激活经验获得记录
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(), 'mwID':mwID, 'succID':succID, 
-                'newExp':newExp, 'needExp':needExp}
-    #发送封包
-    SendEventPack("MagicWeaponExp", dataDict, curPlayer)
-    return
-
-def DR_MagicWeaponActive(curPlayer, mwID, mwLV):
-    # 法宝等级升级记录
-    dataDict = {'PlayerID':curPlayer.GetPlayerID(), 'PlayerName':curPlayer.GetPlayerName(), 
-                'AccID':curPlayer.GetAccID(), 'mwID':mwID, 'mwLV':mwLV}
-    #发送封包
-    SendEventPack("MagicWeaponActive", dataDict, curPlayer)
     return
 
 ## 玩家上线成就检查
@@ -1493,8 +1377,16 @@
     SendEventPack("MailDel", dataDict)
     return 
 
+def DR_ServerMail(GUID, eventName, addDict={}):
+    ## 全服邮件流向
+    dataDict = {'GUID':GUID, "eventName":eventName}
+    dataDict.update(addDict)
+    SendEventPack("MailServerMail", dataDict)
+    return
+
 def DR_CreateRole(playerData):
     dataDict = {'PlayerID':playerData.PlayerID, 'AccID':playerData.AccID, 'PlayerName':playerData.PlayerName, "Job":playerData.Job}
     #发送封包
     SendEventPack("CreateRole", dataDict)
-    return
\ No newline at end of file
+    return
+

--
Gitblit v1.8.0