hxp
2018-11-02 95fcaaafe13a1c0a2ff7706fe7cc1964f921b7c3
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