From eb2b495812782c219d963559e840d1be46c5c846 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 14 五月 2025 11:46:47 +0800 Subject: [PATCH] 16 卡牌服务端(邮件功能;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py index 593dd42..9a24612 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DataRecordPack.py @@ -1565,4 +1565,26 @@ 'AccID':curPlayer.GetAccID(), 'dayIndex':dayIndex, 'point':point} #发送封包 SendEventPack("FeastWeekPartyPoint", dataDict, curPlayer) - return \ No newline at end of file + return + +def DR_MailSend(playerID, GUID, addDict={}): + ## 邮件发送流向 + dataDict = {'PlayerID':playerID, 'GUID':GUID} + dataDict.update(addDict) + #发送封包 + SendEventPack("MailSend", dataDict) + return + +def DR_MailGiveSuccess(playerID, GUID): + ## 邮件领取流向 + dataDict = {'PlayerID':playerID, 'GUID':GUID} + #发送封包 + SendEventPack("MailGiveSuccess", dataDict) + return + +def DR_MailDel(playerID, GUID, eventName): + ## 邮件删除流向 + dataDict = {'PlayerID':playerID, 'GUID':GUID, 'eventName':eventName} + #发送封包 + SendEventPack("MailDel", dataDict) + return -- Gitblit v1.8.0