From 95fcaaafe13a1c0a2ff7706fe7cc1964f921b7c3 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 02 十一月 2018 14:04:26 +0800 Subject: [PATCH] 4399 【后端】【1.2.0】聊天新增支持气泡框选择功能 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index de04888..20f13c3 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1064,6 +1064,12 @@ ("DWORD", "FuncID", 1), ("dict", "Award", 0), ), + + "ChatBubbleBox":( + ("BYTE", "BoxID", 1), + ("WORD", "NeedLV", 0), + ("BYTE", "NeedVIPLVGift", 0), + ), } @@ -3230,6 +3236,19 @@ def GetFuncID(self): return self.FuncID # 功能ID def GetAward(self): return self.Award # 属性类型 + +# 聊天气泡表 +class IPY_ChatBubbleBox(): + + def __init__(self): + self.BoxID = 0 + self.NeedLV = 0 + self.NeedVIPLVGift = 0 + return + + def GetBoxID(self): return self.BoxID # 气泡框ID + def GetNeedLV(self): return self.NeedLV # 所需等级 + def GetNeedVIPLVGift(self): return self.NeedVIPLVGift # 所需购买VIP等级礼包 def Log(msg, playerID=0, par=0): @@ -3451,6 +3470,8 @@ self.ipyWishingWellLen = len(self.ipyWishingWellCache) self.ipyFunctionForecastCache = self.__LoadFileData("FunctionForecast", IPY_FunctionForecast) self.ipyFunctionForecastLen = len(self.ipyFunctionForecastCache) + self.ipyChatBubbleBoxCache = self.__LoadFileData("ChatBubbleBox", IPY_ChatBubbleBox) + self.ipyChatBubbleBoxLen = len(self.ipyChatBubbleBoxCache) Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict)) Log("IPY_DataMgr InitOK!") return @@ -3813,6 +3834,8 @@ def GetWishingWellByIndex(self, index): return self.ipyWishingWellCache[index] def GetFunctionForecastCount(self): return self.ipyFunctionForecastLen def GetFunctionForecastByIndex(self, index): return self.ipyFunctionForecastCache[index] + def GetChatBubbleBoxCount(self): return self.ipyChatBubbleBoxLen + def GetChatBubbleBoxByIndex(self, index): return self.ipyChatBubbleBoxCache[index] IPYData = IPY_DataMgr() def IPY_Data(): return IPYData -- Gitblit v1.8.0