From 021437fc736fafdb8608933ebe095b93cfb9b8ed Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 七月 2024 19:31:05 +0800
Subject: [PATCH] 10192 【越南】【主干】【港台】【砍树】上线增加膜拜主动推送(修改为可膜拜自己;)

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
index 1de01c2..2c85108 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerQuery.py
@@ -87,6 +87,7 @@
 import PlayerTurnFight
 import GameWorldArena
 import GameWorldItem
+import PlayerRecData
 import PlayerAssist
 import PlayerLove
 
@@ -723,6 +724,13 @@
         GameWorldFamilyWar.MapServer_FamilyWarOver(eval(resultName))
         return
     
+    # 增加玩家Rec数据
+    if callName == "AddPlayerRec":
+        curPlayer = None if not srcPlayerID else GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)
+        recType, valueList, userData, notifyType = eval(resultName)
+        PlayerRecData.MapServer_AddPlayerRec(curPlayer, recType, valueList, userData, notifyType)
+        return
+    
     # 删除通用玩家Rec数据
     if callName == "AddUniversalGameRec":
         curPlayer = None if not srcPlayerID else GameWorld.GetPlayerManager().FindPlayerByID(srcPlayerID)

--
Gitblit v1.8.0