From f4f907ae6ae2f22207859230e8fc88583fe3a723 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 10 十一月 2021 11:26:11 +0800 Subject: [PATCH] 9341 【BT5】【主干】【后端】情缘系统 --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py index 47564b2..23577f7 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerControl.py @@ -247,6 +247,10 @@ def GetChatBubbleBox(curPlayer): return curPlayer.GetExAttr10() def SetChatBubbleBox(curPlayer, value): return curPlayer.SetExAttr10(value) +##伴侣ID +def GetCoupleID(curPlayer): return curPlayer.GetExAttr11() +def SetCoupleID(curPlayer, coupleID): return curPlayer.SetExAttr11(coupleID) + ##玩家主动退出仙盟时间(<100代表退出次数) def SetLeaveFamilyTime(curPlayer, value, isSyncMap=True): curPlayer.SetExAttr12(value) -- Gitblit v1.8.0