From 8a3b39e2b66ab9f7d1f1ac65082980d1de8a9582 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 31 十月 2018 14:52:30 +0800
Subject: [PATCH] 4498 【后端】【1.2.0】增加【助战特定副本】的任务接口
---
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