| | |
| | | GameWorld.Log('DeleteFriend -> 封包异常 ->没有这个玩家', playerID)
|
| | | return
|
| | |
|
| | | coupleID = PlayerControl.GetCoupleID(curPlayer)
|
| | | if coupleID == friendID:
|
| | | GameWorld.Log('DeleteFriend -> 封包异常 ->伴侣不能删除好友,coupleID=%s' % coupleID, playerID)
|
| | | return
|
| | | |
| | | #离线好友同时删除记录
|
| | | PyDataManager.GetFriendManager().DelFriendBoth(playerID, friendID)
|
| | |
|
| | |
| | | # return
|
| | | #===========================================================================
|
| | |
|
| | | if tagID == PlayerControl.GetCoupleID(curPlayer):
|
| | | GameWorld.DebugLog("伴侣不能加入黑名单! tagID=%s" % tagID, curPlayer.GetID())
|
| | | return
|
| | | |
| | | tagPlayer = GameWorld.GetPlayerManager().FindPlayerByID(tagID)
|
| | | if not tagPlayer:
|
| | | curCache = PlayerViewCache.FindViewCache(tagID)
|