From e168d76d7d1f3cb94e2e3e9f6051dc80986fdc01 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 01 十一月 2018 17:14:21 +0800 Subject: [PATCH] 4399 【后端】【1.2.0】聊天新增支持气泡框选择功能 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py index b4e5ad1..5b3bbcc 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -5641,6 +5641,10 @@ def GetVIPExpireTime(curPlayer): return curPlayer.GetExAttr9() def SetVIPExpireTime(curPlayer, expireTime): return curPlayer.SetExAttr9(expireTime, False, True) +##聊天气泡框 +def GetChatBubbleBox(curPlayer): return curPlayer.GetExAttr10() +def SetChatBubbleBox(curPlayer, value): return curPlayer.SetExAttr10(value, False, False) + ##获得玩家威望值 def GetPrestige(curPlayer): return 0 def SetPrestige(curPlayer, value): return @@ -5836,7 +5840,6 @@ # @param value: 威望值 # @return: def SetMergeWarRank(curPlayer, value): - curPlayer.SetExAttr10(value, True, True) return @@ -5844,7 +5847,7 @@ # @param curPlayer: 玩家实例 # @return: 威望值 def GetMergeWarRank(curPlayer): - return curPlayer.GetExAttr10() + return 0 ## 设置玩家官爵星级 -- Gitblit v1.8.0