From 5f18b0ab13594fe5a7e60af7f38c8c4443b553d7 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 22 七月 2019 20:48:44 +0800
Subject: [PATCH] 860312 仙盟答题结束后不踢玩家出地图
---
ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py
index 6a43b21..ef4336f 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/IpyGameDataPY.py
@@ -73,6 +73,19 @@
("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),
@@ -622,6 +635,33 @@
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():
@@ -1622,6 +1662,8 @@
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)
@@ -1884,6 +1926,8 @@
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
--
Gitblit v1.8.0