| | |
| | | ("list", "MatchRange", 0),
|
| | | ),
|
| | |
|
| | | "CrossPenglaiZone":(
|
| | | ("BYTE", "ZoneID", 0),
|
| | | ("list", "ServerGroupIDList", 0),
|
| | | ("DWORD", "MapID", 1),
|
| | | ("DWORD", "DataMapID", 1),
|
| | | ("BYTE", "CopyMapID", 1),
|
| | | ),
|
| | |
|
| | | "ActWeekParty":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("char", "ActMark", 0),
|
| | |
| | | ("list", "ServerIDList", 0),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("WORD", "AdvanceMinutes", 0),
|
| | | ("BYTE", "IsDayReset", 0),
|
| | | ("BYTE", "ResetType", 0),
|
| | | ("dict", "NotifyInfoStart", 0),
|
| | |
| | | def GetLVUpScore(self): return self.LVUpScore # 升段位所需积分
|
| | | def GetMatchRange(self): return self.MatchRange # 可匹配到的玩家段位区间 [从段位A, 到段位B],配[]代表只匹配本段位的 |
| | | |
| | | # 跨服Boss蓬莱仙境分区表 |
| | | class IPY_CrossPenglaiZone(): |
| | | |
| | | def __init__(self): |
| | | self.ZoneID = 0
|
| | | self.ServerGroupIDList = []
|
| | | self.MapID = 0
|
| | | self.DataMapID = 0
|
| | | self.CopyMapID = 0 |
| | | return |
| | | |
| | | def GetZoneID(self): return self.ZoneID # 分区ID
|
| | | def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器组ID列表
|
| | | def GetMapID(self): return self.MapID # 场景地图ID
|
| | | def GetDataMapID(self): return self.DataMapID # 数据地图ID
|
| | | def GetCopyMapID(self): return self.CopyMapID # 虚拟线路ID |
| | | |
| | | # 周狂欢活动时间表 |
| | | class IPY_ActWeekParty(): |
| | | |
| | |
| | | self.ServerIDList = []
|
| | | self.StartDate = ""
|
| | | self.EndDate = ""
|
| | | self.AdvanceMinutes = 0
|
| | | self.IsDayReset = 0
|
| | | self.ResetType = 0
|
| | | self.NotifyInfoStart = {}
|
| | |
| | | def GetServerIDList(self): return self.ServerIDList # 服务器ID列表
|
| | | def GetStartDate(self): return self.StartDate # 开启日期
|
| | | def GetEndDate(self): return self.EndDate # 结束日期
|
| | | def GetAdvanceMinutes(self): return self.AdvanceMinutes # 前端提前X分钟展示活动
|
| | | def GetIsDayReset(self): return self.IsDayReset # 是否每天重置
|
| | | def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置
|
| | | def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间
|
| | |
| | | self.ipyCrossRealmPKSeasonLen = len(self.ipyCrossRealmPKSeasonCache)
|
| | | self.ipyCrossRealmPKDanCache = self.__LoadFileData("CrossRealmPKDan", IPY_CrossRealmPKDan)
|
| | | self.ipyCrossRealmPKDanLen = len(self.ipyCrossRealmPKDanCache)
|
| | | self.ipyCrossPenglaiZoneCache = self.__LoadFileData("CrossPenglaiZone", IPY_CrossPenglaiZone)
|
| | | self.ipyCrossPenglaiZoneLen = len(self.ipyCrossPenglaiZoneCache)
|
| | | self.ipyActWeekPartyCache = self.__LoadFileData("ActWeekParty", IPY_ActWeekParty)
|
| | | self.ipyActWeekPartyLen = len(self.ipyActWeekPartyCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | |
| | | def GetCrossRealmPKSeasonByIndex(self, index): return self.ipyCrossRealmPKSeasonCache[index]
|
| | | def GetCrossRealmPKDanCount(self): return self.ipyCrossRealmPKDanLen
|
| | | def GetCrossRealmPKDanByIndex(self, index): return self.ipyCrossRealmPKDanCache[index]
|
| | | def GetCrossPenglaiZoneCount(self): return self.ipyCrossPenglaiZoneLen
|
| | | def GetCrossPenglaiZoneByIndex(self, index): return self.ipyCrossPenglaiZoneCache[index]
|
| | | def GetActWeekPartyCount(self): return self.ipyActWeekPartyLen
|
| | | def GetActWeekPartyByIndex(self, index): return self.ipyActWeekPartyCache[index]
|
| | |
|