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/ChPlayer.py | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py index 69dbdd4..ba7d046 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/ChPlayer.py @@ -2529,6 +2529,18 @@ curPlayer.SetSetting(setting) return +#// A2 30 设置聊天气泡框 #tagCMSetChatBubbleBox +# +#struct tagCMSetChatBubbleBox +#{ +# tagHead Head; +# BYTE BubbleBoxType; //气泡框类型 +#}; +def OnSetChatBubbleBox(index, clientData, tick): + curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index) + PlayerControl.SetChatBubbleBox(curPlayer, clientData.BubbleBoxType) + return + #// A2 29 设置小助手 #tagCMSetLittleHelper # #struct tagCMSetLittleHelper -- Gitblit v1.8.0