From d5a1a6246ae6f4e46183b6713930773377666d7e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 13 十一月 2018 12:01:41 +0800
Subject: [PATCH] 2683 子 天赋技能和新增双职业各两个技能 / 【后端】天赋技能  --- 优化4508代码

---
 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