| | |
| | | ("BYTE", "Sortpriority", 0),
|
| | | ),
|
| | |
|
| | | "AuctionSystemItem":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("char", "StartTime", 0),
|
| | | ("char", "EndTime", 0),
|
| | | ("BYTE", "AuctionCount", 0),
|
| | | ("list", "RandMinuteRange", 0),
|
| | | ("list", "ItemCountWeightList", 0),
|
| | | ("list", "AddRandSecondRange", 0),
|
| | | ("list", "AuctionItemWeightList", 0),
|
| | | ("list", "RandMailKeyList", 0),
|
| | | ),
|
| | |
|
| | | "DailyAction":(
|
| | | ("DWORD", "DailyID", 1),
|
| | | ("dict", "OpenTimeDict", 0),
|
| | |
| | | ("BYTE", "DanLV", 1),
|
| | | ("WORD", "LVUpScore", 0),
|
| | | ("list", "MatchRange", 0),
|
| | | ("BYTE", "MatchRobotRate", 0),
|
| | | ("BYTE", "MatchRobotRateEx", 0),
|
| | | ),
|
| | |
|
| | | "CrossPenglaiZoneMap":(
|
| | |
| | | def GetBiddingAdd(self): return self.BiddingAdd # 竞价增加
|
| | | def GetNeedWorldNotify(self): return self.NeedWorldNotify # 是否需要广播
|
| | | def GetSortpriority(self): return self.Sortpriority # 排序优先级归组 |
| | | |
| | | # 拍卖行系统拍品表 |
| | | class IPY_AuctionSystemItem(): |
| | | |
| | | def __init__(self): |
| | | self.CfgID = 0
|
| | | self.StartDate = ""
|
| | | self.EndDate = ""
|
| | | self.StartTime = ""
|
| | | self.EndTime = ""
|
| | | self.AuctionCount = 0
|
| | | self.RandMinuteRange = []
|
| | | self.ItemCountWeightList = []
|
| | | self.AddRandSecondRange = []
|
| | | self.AuctionItemWeightList = []
|
| | | self.RandMailKeyList = [] |
| | | return |
| | | |
| | | def GetCfgID(self): return self.CfgID
|
| | | def GetStartDate(self): return self.StartDate # 开启日期
|
| | | def GetEndDate(self): return self.EndDate # 结束日期
|
| | | def GetStartTime(self): return self.StartTime # 开启时间
|
| | | def GetEndTime(self): return self.EndTime # 结束时间
|
| | | def GetAuctionCount(self): return self.AuctionCount # 上架次数
|
| | | def GetRandMinuteRange(self): return self.RandMinuteRange # 上架随机间隔分钟下限|上限
|
| | | def GetItemCountWeightList(self): return self.ItemCountWeightList # 上架随机件数权重列表, [[权重, 件数], ...]
|
| | | def GetAddRandSecondRange(self): return self.AddRandSecondRange # 每件拍品随机间隔上架秒数 上限|下限
|
| | | def GetAuctionItemWeightList(self): return self.AuctionItemWeightList # 上架物品随机权重, [[权重, 物品ID],[权重, [阶,颜色,部位集合,是否套装,星级]] ...]
|
| | | def GetRandMailKeyList(self): return self.RandMailKeyList # 上架随机邮件列表,有配置时上架的时候在线玩家会收到一封上架邮件提醒 |
| | | |
| | | # 日常活动表 |
| | | class IPY_DailyAction(): |
| | |
| | | def __init__(self): |
| | | self.DanLV = 0
|
| | | self.LVUpScore = 0
|
| | | self.MatchRange = [] |
| | | self.MatchRange = []
|
| | | self.MatchRobotRate = 0
|
| | | self.MatchRobotRateEx = 0 |
| | | return |
| | | |
| | | def GetDanLV(self): return self.DanLV # 段位等级
|
| | | def GetLVUpScore(self): return self.LVUpScore # 升段位所需积分
|
| | | def GetMatchRange(self): return self.MatchRange # 可匹配到的玩家段位区间 [从段位A, 到段位B],配[]代表只匹配本段位的 |
| | | def GetMatchRange(self): return self.MatchRange # 可匹配到的玩家段位区间 [从段位A, 到段位B],配[]代表只匹配本段位的
|
| | | def GetMatchRobotRate(self): return self.MatchRobotRate # 匹配机器人基础概率,百分率
|
| | | def GetMatchRobotRateEx(self): return self.MatchRobotRateEx # 匹配机器人失败次数附加概率,百分率 |
| | | |
| | | # 跨服Boss蓬莱仙境分区地图表 |
| | | class IPY_CrossPenglaiZoneMap(): |
| | |
| | | self.ipyMarketQueryLen = len(self.ipyMarketQueryCache)
|
| | | self.ipyAuctionItemCache = self.__LoadFileData("AuctionItem", IPY_AuctionItem)
|
| | | self.ipyAuctionItemLen = len(self.ipyAuctionItemCache)
|
| | | self.ipyAuctionSystemItemCache = self.__LoadFileData("AuctionSystemItem", IPY_AuctionSystemItem)
|
| | | self.ipyAuctionSystemItemLen = len(self.ipyAuctionSystemItemCache)
|
| | | self.ipyDailyActionCache = self.__LoadFileData("DailyAction", IPY_DailyAction)
|
| | | self.ipyDailyActionLen = len(self.ipyDailyActionCache)
|
| | | self.ipyDailyActionCustomCache = self.__LoadFileData("DailyActionCustom", IPY_DailyActionCustom)
|
| | |
| | | def GetMarketQueryByIndex(self, index): return self.ipyMarketQueryCache[index]
|
| | | def GetAuctionItemCount(self): return self.ipyAuctionItemLen
|
| | | def GetAuctionItemByIndex(self, index): return self.ipyAuctionItemCache[index]
|
| | | def GetAuctionSystemItemCount(self): return self.ipyAuctionSystemItemLen
|
| | | def GetAuctionSystemItemByIndex(self, index): return self.ipyAuctionSystemItemCache[index]
|
| | | def GetDailyActionCount(self): return self.ipyDailyActionLen
|
| | | def GetDailyActionByIndex(self, index): return self.ipyDailyActionCache[index]
|
| | | def GetDailyActionCustomCount(self): return self.ipyDailyActionCustomLen
|