6250 【后端】【2.0】拍卖行开发单(增加拍卖物品表)
| | |
| | | dict LimitInfo; //限制条件
|
| | | };
|
| | |
|
| | | //拍卖物品表
|
| | |
|
| | | struct tagAuctionItem
|
| | | {
|
| | | DWORD _AuctionItemID;
|
| | | BYTE NoticeSaleMinutes; //预告拍卖分钟
|
| | | WORD FamilySaleMinutes; //仙盟拍卖分钟
|
| | | WORD WorldSaleMinutes; //全服拍卖分钟
|
| | | WORD BasePrice; //起拍价
|
| | | WORD BuyoutPrice; //一口价
|
| | | WORD BiddingAdd; //竞价增加
|
| | | BYTE NeedWorldNotify; //是否需要广播
|
| | | };
|
| | |
|
| | | //日常活动表
|
| | |
|
| | | struct tagDailyAction
|
| | |
| | | list OutOfPrintAttrValue; //绝版属性最大值
|
| | | };
|
| | |
|
| | | //拍卖物品表
|
| | |
|
| | | struct tagAuctionItem
|
| | | {
|
| | | DWORD _AuctionItemID;
|
| | | };
|
| | |
|
| | | //VIP特权表
|
| | |
|
| | | struct tagVipPrivilege
|
| | |
| | | ("dict", "LimitInfo", 0),
|
| | | ),
|
| | |
|
| | | "AuctionItem":(
|
| | | ("DWORD", "AuctionItemID", 1),
|
| | | ("BYTE", "NoticeSaleMinutes", 0),
|
| | | ("WORD", "FamilySaleMinutes", 0),
|
| | | ("WORD", "WorldSaleMinutes", 0),
|
| | | ("WORD", "BasePrice", 0),
|
| | | ("WORD", "BuyoutPrice", 0),
|
| | | ("WORD", "BiddingAdd", 0),
|
| | | ("BYTE", "NeedWorldNotify", 0),
|
| | | ),
|
| | |
|
| | | "DailyAction":(
|
| | | ("DWORD", "DailyID", 1),
|
| | | ("dict", "OpenTimeDict", 0),
|
| | |
| | | |
| | | def GetQueryType(self): return self.QueryType # 查询类型
|
| | | def GetLimitInfo(self): return self.LimitInfo # 限制条件 |
| | | |
| | | # 拍卖物品表 |
| | | class IPY_AuctionItem(): |
| | | |
| | | def __init__(self): |
| | | self.AuctionItemID = 0
|
| | | self.NoticeSaleMinutes = 0
|
| | | self.FamilySaleMinutes = 0
|
| | | self.WorldSaleMinutes = 0
|
| | | self.BasePrice = 0
|
| | | self.BuyoutPrice = 0
|
| | | self.BiddingAdd = 0
|
| | | self.NeedWorldNotify = 0 |
| | | return |
| | | |
| | | def GetAuctionItemID(self): return self.AuctionItemID
|
| | | def GetNoticeSaleMinutes(self): return self.NoticeSaleMinutes # 预告拍卖分钟
|
| | | def GetFamilySaleMinutes(self): return self.FamilySaleMinutes # 仙盟拍卖分钟
|
| | | def GetWorldSaleMinutes(self): return self.WorldSaleMinutes # 全服拍卖分钟
|
| | | def GetBasePrice(self): return self.BasePrice # 起拍价
|
| | | def GetBuyoutPrice(self): return self.BuyoutPrice # 一口价
|
| | | def GetBiddingAdd(self): return self.BiddingAdd # 竞价增加
|
| | | def GetNeedWorldNotify(self): return self.NeedWorldNotify # 是否需要广播 |
| | | |
| | | # 日常活动表 |
| | | class IPY_DailyAction(): |
| | |
| | | self.ipyFamilyLen = len(self.ipyFamilyCache)
|
| | | self.ipyMarketQueryCache = self.__LoadFileData("MarketQuery", IPY_MarketQuery)
|
| | | self.ipyMarketQueryLen = len(self.ipyMarketQueryCache)
|
| | | self.ipyAuctionItemCache = self.__LoadFileData("AuctionItem", IPY_AuctionItem)
|
| | | self.ipyAuctionItemLen = len(self.ipyAuctionItemCache)
|
| | | self.ipyDailyActionCache = self.__LoadFileData("DailyAction", IPY_DailyAction)
|
| | | self.ipyDailyActionLen = len(self.ipyDailyActionCache)
|
| | | self.ipyDailyActionCustomCache = self.__LoadFileData("DailyActionCustom", IPY_DailyActionCustom)
|
| | |
| | | def GetFamilyByIndex(self, index): return self.ipyFamilyCache[index]
|
| | | def GetMarketQueryCount(self): return self.ipyMarketQueryLen
|
| | | def GetMarketQueryByIndex(self, index): return self.ipyMarketQueryCache[index]
|
| | | def GetAuctionItemCount(self): return self.ipyAuctionItemLen
|
| | | def GetAuctionItemByIndex(self, index): return self.ipyAuctionItemCache[index]
|
| | | def GetDailyActionCount(self): return self.ipyDailyActionLen
|
| | | def GetDailyActionByIndex(self, index): return self.ipyDailyActionCache[index]
|
| | | def GetDailyActionCustomCount(self): return self.ipyDailyActionCustomLen
|
| | |
| | | ("list", "SuccessList", 0),
|
| | | ),
|
| | |
|
| | | "TreasureSkill":(
|
| | | ("BYTE", "SkillUpType", 1),
|
| | | ("BYTE", "SkillLV", 1),
|
| | | ("DWORD", "NeedPoint", 0),
|
| | | ("WORD", "InitRate", 0),
|
| | | ("list", "NeedItemID", 0),
|
| | | ("list", "NeedItemCnt", 0),
|
| | | ("list", "MaxRate", 0),
|
| | | ),
|
| | |
|
| | | "ContineSignAward":(
|
| | | ("BYTE", "ContineDay", 1),
|
| | | ("list", "ItemID", 0),
|
| | |
| | | ("list", "LegendAttrValue", 0),
|
| | | ("list", "OutOfPrintAttr", 0),
|
| | | ("list", "OutOfPrintAttrValue", 0),
|
| | | ),
|
| | |
|
| | | "AuctionItem":(
|
| | | ("DWORD", "AuctionItemID", 1),
|
| | | ),
|
| | |
|
| | | "VipPrivilege":(
|
| | |
| | | def GetItemAward(self): return self.ItemAward # 物品奖励
|
| | | def GetSuccessList(self): return self.SuccessList # 需要完成成就 |
| | | |
| | | # 法宝技能升级表 |
| | | class IPY_TreasureSkill(): |
| | | |
| | | def __init__(self): |
| | | self.SkillUpType = 0
|
| | | self.SkillLV = 0
|
| | | self.NeedPoint = 0
|
| | | self.InitRate = 0
|
| | | self.NeedItemID = []
|
| | | self.NeedItemCnt = []
|
| | | self.MaxRate = [] |
| | | return |
| | | |
| | | def GetSkillUpType(self): return self.SkillUpType # 技能升级类型
|
| | | def GetSkillLV(self): return self.SkillLV # 技能等级
|
| | | def GetNeedPoint(self): return self.NeedPoint # 升到当前级消耗天石精华
|
| | | def GetInitRate(self): return self.InitRate # 初始概率
|
| | | def GetNeedItemID(self): return self.NeedItemID # 升到当前级溶彩石ID
|
| | | def GetNeedItemCnt(self): return self.NeedItemCnt # 升到当前级溶彩石数量
|
| | | def GetMaxRate(self): return self.MaxRate # 升到当前级概率 |
| | | |
| | | # 连续签到奖励表 |
| | | class IPY_ContineSignAward(): |
| | | |
| | |
| | | def GetLegendAttrValue(self): return self.LegendAttrValue # 传奇属性值
|
| | | def GetOutOfPrintAttr(self): return self.OutOfPrintAttr # 绝版属性ID
|
| | | def GetOutOfPrintAttrValue(self): return self.OutOfPrintAttrValue # 绝版属性最大值 |
| | | |
| | | # 拍卖物品表 |
| | | class IPY_AuctionItem(): |
| | | |
| | | def __init__(self): |
| | | self.AuctionItemID = 0 |
| | | return |
| | | |
| | | def GetAuctionItemID(self): return self.AuctionItemID |
| | | |
| | | # VIP特权表 |
| | | class IPY_VipPrivilege(): |
| | |
| | | self.ipyTreasureUpLen = len(self.ipyTreasureUpCache)
|
| | | self.ipyTreasurePrivilegeCache = self.__LoadFileData("TreasurePrivilege", IPY_TreasurePrivilege)
|
| | | self.ipyTreasurePrivilegeLen = len(self.ipyTreasurePrivilegeCache)
|
| | | self.ipyTreasureSkillCache = self.__LoadFileData("TreasureSkill", IPY_TreasureSkill)
|
| | | self.ipyTreasureSkillLen = len(self.ipyTreasureSkillCache)
|
| | | self.ipyContineSignAwardCache = self.__LoadFileData("ContineSignAward", IPY_ContineSignAward)
|
| | | self.ipyContineSignAwardLen = len(self.ipyContineSignAwardCache)
|
| | | self.ipySignAwardCache = self.__LoadFileData("SignAward", IPY_SignAward)
|
| | |
| | | self.ipyVIPAwardLen = len(self.ipyVIPAwardCache)
|
| | | self.ipyAppointItemCache = self.__LoadFileData("AppointItem", IPY_AppointItem)
|
| | | self.ipyAppointItemLen = len(self.ipyAppointItemCache)
|
| | | self.ipyAuctionItemCache = self.__LoadFileData("AuctionItem", IPY_AuctionItem)
|
| | | self.ipyAuctionItemLen = len(self.ipyAuctionItemCache)
|
| | | self.ipyVipPrivilegeCache = self.__LoadFileData("VipPrivilege", IPY_VipPrivilege)
|
| | | self.ipyVipPrivilegeLen = len(self.ipyVipPrivilegeCache)
|
| | | self.ipyStoreCache = self.__LoadFileData("Store", IPY_Store)
|
| | |
| | | def GetTreasureUpByIndex(self, index): return self.ipyTreasureUpCache[index]
|
| | | def GetTreasurePrivilegeCount(self): return self.ipyTreasurePrivilegeLen
|
| | | def GetTreasurePrivilegeByIndex(self, index): return self.ipyTreasurePrivilegeCache[index]
|
| | | def GetTreasureSkillCount(self): return self.ipyTreasureSkillLen
|
| | | def GetTreasureSkillByIndex(self, index): return self.ipyTreasureSkillCache[index]
|
| | | def GetContineSignAwardCount(self): return self.ipyContineSignAwardLen
|
| | | def GetContineSignAwardByIndex(self, index): return self.ipyContineSignAwardCache[index]
|
| | | def GetSignAwardCount(self): return self.ipySignAwardLen
|
| | |
| | | def GetVIPAwardByIndex(self, index): return self.ipyVIPAwardCache[index]
|
| | | def GetAppointItemCount(self): return self.ipyAppointItemLen
|
| | | def GetAppointItemByIndex(self, index): return self.ipyAppointItemCache[index]
|
| | | def GetAuctionItemCount(self): return self.ipyAuctionItemLen
|
| | | def GetAuctionItemByIndex(self, index): return self.ipyAuctionItemCache[index]
|
| | | def GetVipPrivilegeCount(self): return self.ipyVipPrivilegeLen
|
| | | def GetVipPrivilegeByIndex(self, index): return self.ipyVipPrivilegeCache[index]
|
| | | def GetStoreCount(self): return self.ipyStoreLen
|