| | |
| | |
|
| | | couple = PyDataManager.GetDBPyCoupleManager().GetCouple(playerID)
|
| | | if couple and couple.GetCoupleID(playerID) == friendID:
|
| | | GameWorld.Log('DeleteFriend -> 封包异常 ->伴侣不能删除好友.friendID=%s' % friendID, playerID)
|
| | | #GameWorld.Log('DeleteFriend -> 封包异常 ->伴侣不能删除好友.friendID=%s' % friendID, playerID)
|
| | | PlayerControl.NotifyCode(curPlayer, "DelFriendCoupleLimit")
|
| | | return
|
| | |
|
| | | #离线好友同时删除记录
|
| | |
| | |
|
| | | couple = PyDataManager.GetDBPyCoupleManager().GetCouple(curPlayer.GetID())
|
| | | if couple and couple.GetCoupleID(curPlayer.GetID()) == tagID:
|
| | | GameWorld.DebugLog("伴侣不能加入黑名单! tagID=%s" % tagID, curPlayer.GetID())
|
| | | #GameWorld.DebugLog("伴侣不能加入黑名单! tagID=%s" % tagID, curPlayer.GetID())
|
| | | PlayerControl.NotifyCode(curPlayer, "AddBlackCoupleLimit")
|
| | | return
|
| | |
|
| | | tagPlayer = GameWorld.GetPlayerManager().FindPlayerByID(tagID)
|