| | |
| | | ("list", "RandMailKeyList", 0),
|
| | | ),
|
| | |
|
| | | "CrossDailyAction":(
|
| | | ("DWORD", "DailyID", 1),
|
| | | ("dict", "OpenTimeDict", 0),
|
| | | ("DWORD", "Duration", 0),
|
| | | ("dict", "NotifyInfo", 0),
|
| | | ),
|
| | |
|
| | | "DailyAction":(
|
| | | ("DWORD", "DailyID", 1),
|
| | | ("dict", "OpenTimeDict", 0),
|
| | |
| | | def GetItemCountWeightList(self): return self.ItemCountWeightList # 指定上架随机件数权重列表, [[权重, 件数], ...]
|
| | | def GetAuctionItemWeightList(self): return self.AuctionItemWeightList # 指定上架物品随机权重, [[权重, 物品ID],[权重, [阶,颜色,部位集合,是否套装,星级]] ...]
|
| | | def GetRandMailKeyList(self): return self.RandMailKeyList # 指定上架随机邮件列表,有配置时上架的时候在线玩家会收到一封上架邮件提醒 |
| | | |
| | | # 跨服日常活动表 |
| | | class IPY_CrossDailyAction(): |
| | | |
| | | def __init__(self): |
| | | self.DailyID = 0
|
| | | self.OpenTimeDict = {}
|
| | | self.Duration = 0
|
| | | self.NotifyInfo = {} |
| | | return |
| | | |
| | | def GetDailyID(self): return self.DailyID # 活动ID
|
| | | def GetOpenTimeDict(self): return self.OpenTimeDict # 开启时间
|
| | | def GetDuration(self): return self.Duration # 持续时间, 0为不限制
|
| | | def GetNotifyInfo(self): return self.NotifyInfo # 广播提示信息 |
| | | |
| | | # 日常活动表 |
| | | class IPY_DailyAction(): |
| | |
| | | self.ipyAuctionItemLen = len(self.ipyAuctionItemCache)
|
| | | self.ipyAuctionSystemItemCache = self.__LoadFileData("AuctionSystemItem", IPY_AuctionSystemItem)
|
| | | self.ipyAuctionSystemItemLen = len(self.ipyAuctionSystemItemCache)
|
| | | self.ipyCrossDailyActionCache = self.__LoadFileData("CrossDailyAction", IPY_CrossDailyAction)
|
| | | self.ipyCrossDailyActionLen = len(self.ipyCrossDailyActionCache)
|
| | | self.ipyDailyActionCache = self.__LoadFileData("DailyAction", IPY_DailyAction)
|
| | | self.ipyDailyActionLen = len(self.ipyDailyActionCache)
|
| | | self.ipyDailyActionCustomCache = self.__LoadFileData("DailyActionCustom", IPY_DailyActionCustom)
|
| | |
| | | def GetAuctionItemByIndex(self, index): return self.ipyAuctionItemCache[index]
|
| | | def GetAuctionSystemItemCount(self): return self.ipyAuctionSystemItemLen
|
| | | def GetAuctionSystemItemByIndex(self, index): return self.ipyAuctionSystemItemCache[index]
|
| | | def GetCrossDailyActionCount(self): return self.ipyCrossDailyActionLen
|
| | | def GetCrossDailyActionByIndex(self, index): return self.ipyCrossDailyActionCache[index]
|
| | | def GetDailyActionCount(self): return self.ipyDailyActionLen
|
| | | def GetDailyActionByIndex(self, index): return self.ipyDailyActionCache[index]
|
| | | def GetDailyActionCustomCount(self): return self.ipyDailyActionCustomLen
|