From 9884f7248cae1b51d22e59b61d1c2af21141101d Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 12 十一月 2018 20:45:33 +0800
Subject: [PATCH] 4723 【后端】【1.3】仙界秘境副本进入CD在角色达到N级后取消

---
 ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py |   27 +++++++++++++++------------
 1 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
index 624de77..0387fdf 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerSocial.py
@@ -189,18 +189,21 @@
     
     # 通知地图好友信息
     def MapServer_SyncFriendInfo(self, curPlayer):
-        if not curPlayer:
-            return
-        sendPack = ChGameToMapPyPack.tagGMFriendInfo() 
-        sendPack.PlayerID = curPlayer.GetPlayerID()
-        sendPack.FriendCnt = self.GetCount()
-        sendPack.Friends = []
-        
-        for friendInfo in self.SocialDict.values():
-            playerFriend = ChGameToMapPyPack.tagGMPlayerFrendInfo()
-            playerFriend.TagID = friendInfo.PlayerID
-            sendPack.Friends.append(playerFriend)
-        NetPackCommon.SendPyPackToMapServer(curPlayer.GetLineNO(), curPlayer.GetRealMapID(), sendPack) 
+        return
+        #=======================================================================
+        # if not curPlayer:
+        #    return
+        # sendPack = ChGameToMapPyPack.tagGMFriendInfo() 
+        # sendPack.PlayerID = curPlayer.GetPlayerID()
+        # sendPack.FriendCnt = self.GetCount()
+        # sendPack.Friends = []
+        # 
+        # for friendInfo in self.SocialDict.values():
+        #    playerFriend = ChGameToMapPyPack.tagGMPlayerFrendInfo()
+        #    playerFriend.TagID = friendInfo.TagID
+        #    sendPack.Friends.append(playerFriend)
+        # NetPackCommon.SendPyPackToMapServer(curPlayer.GetLineNO(), curPlayer.GetRealMapID(), sendPack) 
+        #=======================================================================
     
 
 # 整个游戏的好友管理

--
Gitblit v1.8.0