| | |
| | | ("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", "AuctionItemWeightList", 0),
|
| | | ("list", "RandMailKeyList", 0),
|
| | | ),
|
| | |
|
| | | "DailyAction":(
|
| | | ("DWORD", "DailyID", 1),
|
| | | ("dict", "OpenTimeDict", 0),
|
| | |
| | | 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.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 GetAuctionItemWeightList(self): return self.AuctionItemWeightList # 上架物品随机权重, [[权重, 物品ID],[权重, [阶,颜色,部位集合,是否套装,星级]] ...]
|
| | | def GetRandMailKeyList(self): return self.RandMailKeyList # 上架随机邮件列表,有配置时上架的时候在线玩家会收到一封上架邮件提醒 |
| | | |
| | | # 日常活动表 |
| | | class IPY_DailyAction(): |
| | |
| | | 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
|