From 9a4e206467ca2aa3113ebc45dace23cdd5ce995f Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 02 十一月 2018 19:23:37 +0800
Subject: [PATCH] 4575 脱机挂登录 与客户端约定extra用竖杆分割,第一个为spid
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 46 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 ff4ccf2..20f13c3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py
@@ -85,6 +85,7 @@
"ItemCompound":(
("WORD", "ID", 1),
+ ("BYTE", "ComposeGroup", 0),
("list", "MakeID", 0),
("BYTE", "IsFirstSuccMakeJobItem", 0),
("list", "UnfixedItemID", 0),
@@ -1058,6 +1059,17 @@
("DWORD", "Weight", 0),
("DWORD", "Mark", 0),
),
+
+ "FunctionForecast":(
+ ("DWORD", "FuncID", 1),
+ ("dict", "Award", 0),
+ ),
+
+ "ChatBubbleBox":(
+ ("BYTE", "BoxID", 1),
+ ("WORD", "NeedLV", 0),
+ ("BYTE", "NeedVIPLVGift", 0),
+ ),
}
@@ -1173,6 +1185,7 @@
def __init__(self):
self.ID = 0
+ self.ComposeGroup = 0
self.MakeID = []
self.IsFirstSuccMakeJobItem = 0
self.UnfixedItemID = []
@@ -1189,6 +1202,7 @@
return
def GetID(self): return self.ID # 合成配置编号ID
+ def GetComposeGroup(self): return self.ComposeGroup # 合成归组类型
def GetMakeID(self): return self.MakeID # 可合成的道具ID,多个则随机一个
def GetIsFirstSuccMakeJobItem(self): return self.IsFirstSuccMakeJobItem # 首次成功是否必出本职业
def GetUnfixedItemID(self): return self.UnfixedItemID # 不固定道具ID, 多个ID时则任意一种均可
@@ -3211,6 +3225,30 @@
def GetIsBind(self): return self.IsBind # 是否绑定
def GetWeight(self): return self.Weight # 权重
def GetMark(self): return self.Mark # 排序用标识
+
+# 功能预告表
+class IPY_FunctionForecast():
+
+ def __init__(self):
+ self.FuncID = 0
+ self.Award = {}
+ return
+
+ 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):
@@ -3430,6 +3468,10 @@
self.ipyActWishingWellLen = len(self.ipyActWishingWellCache)
self.ipyWishingWellCache = self.__LoadFileData("WishingWell", IPY_WishingWell)
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
@@ -3790,6 +3832,10 @@
def GetActWishingWellByIndex(self, index): return self.ipyActWishingWellCache[index]
def GetWishingWellCount(self): return self.ipyWishingWellLen
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