| | |
| | | ("char", "Numerical5", 0),
|
| | | ),
|
| | |
|
| | | "CreateRole":(
|
| | | ("BYTE", "RoleType", 1),
|
| | | ("BYTE", "Job", 0),
|
| | | ("DWORD", "Face", 0),
|
| | | ("DWORD", "ModelMark", 0),
|
| | | ("list", "CreateRoleMap", 0),
|
| | | ),
|
| | |
|
| | | "CreateRoleLimitServer":(
|
| | | ("list", "LimitServerGroupIDRangeList", 0),
|
| | | ("list", "LimitServerGroupIDList", 0),
|
| | |
| | | ("dict", "NotifyInfoEnd", 0),
|
| | | ("list", "NotifyInfoLoop", 0),
|
| | | ("BYTE", "ResetType", 0),
|
| | | ),
|
| | |
|
| | | "ActBossTrial":(
|
| | | ("DWORD", "CfgID", 1),
|
| | | ("list", "PlatformList", 0),
|
| | | ("list", "ServerGroupIDList", 0),
|
| | | ("BYTE", "ActNum", 0),
|
| | | ("char", "StartDate", 0),
|
| | | ("char", "EndDate", 0),
|
| | | ("dict", "NotifyInfoStart", 0),
|
| | | ("dict", "NotifyInfoEnd", 0),
|
| | | ("list", "NotifyInfoLoop", 0),
|
| | | ("BYTE", "IsDayReset", 0),
|
| | | ("BYTE", "ResetType", 0),
|
| | | ("list", "TemplateIDList", 0),
|
| | | ),
|
| | |
|
| | | "ActBossTrialTemplate":(
|
| | | ("DWORD", "TemplateID", 1),
|
| | | ("BYTE", "Rank", 0),
|
| | | ("list", "AwardItemList", 0),
|
| | | ),
|
| | |
|
| | | "ActXianXiaMJ":(
|
| | |
| | | def GetNumerical3(self): return self.Numerical3 # 数据3
|
| | | def GetNumerical4(self): return self.Numerical4 # 数据4
|
| | | def GetNumerical5(self): return self.Numerical5 # 数据5 |
| | | |
| | | # 创角表 |
| | | class IPY_CreateRole(): |
| | | |
| | | def __init__(self): |
| | | self.RoleType = 0
|
| | | self.Job = 0
|
| | | self.Face = 0
|
| | | self.ModelMark = 0
|
| | | self.CreateRoleMap = [] |
| | | return |
| | | |
| | | def GetRoleType(self): return self.RoleType # 角色
|
| | | def GetJob(self): return self.Job # ְҵ
|
| | | def GetFace(self): return self.Face # 默认头像
|
| | | def GetModelMark(self): return self.ModelMark # 默认外形
|
| | | def GetCreateRoleMap(self): return self.CreateRoleMap # 创角地图坐标信息 [dataMapID,posX,posY] |
| | | |
| | | # 创角限制服务器配置表 |
| | | class IPY_CreateRoleLimitServer(): |
| | |
| | | def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间
|
| | | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key]
|
| | | def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置 |
| | | |
| | | # Boss历练活动表 |
| | | class IPY_ActBossTrial(): |
| | | |
| | | def __init__(self): |
| | | self.CfgID = 0
|
| | | self.PlatformList = []
|
| | | self.ServerGroupIDList = []
|
| | | self.ActNum = 0
|
| | | self.StartDate = ""
|
| | | self.EndDate = ""
|
| | | self.NotifyInfoStart = {}
|
| | | self.NotifyInfoEnd = {}
|
| | | self.NotifyInfoLoop = []
|
| | | self.IsDayReset = 0
|
| | | self.ResetType = 0
|
| | | self.TemplateIDList = [] |
| | | return |
| | | |
| | | def GetCfgID(self): return self.CfgID # 配置ID
|
| | | def GetPlatformList(self): return self.PlatformList # 活动平台列表["平台A", "平台A", ...],配[]代表所有
|
| | | def GetServerGroupIDList(self): return self.ServerGroupIDList # 服务器ID列表
|
| | | def GetActNum(self): return self.ActNum # 活动分组编号, 活动类型 * 10 + 不同界面编号
|
| | | def GetStartDate(self): return self.StartDate # 开启日期
|
| | | def GetEndDate(self): return self.EndDate # 结束日期
|
| | | def GetNotifyInfoStart(self): return self.NotifyInfoStart # 全服提示信息 - 相对开始时间
|
| | | def GetNotifyInfoEnd(self): return self.NotifyInfoEnd # 全服提示信息 - 相对结束时间
|
| | | def GetNotifyInfoLoop(self): return self.NotifyInfoLoop # 全服提示信息 - 循环广播[间隔分钟, 广播key]
|
| | | def GetIsDayReset(self): return self.IsDayReset # 是否每天重置
|
| | | def GetResetType(self): return self.ResetType # 重置类型,0-0点重置;1-5点重置
|
| | | def GetTemplateIDList(self): return self.TemplateIDList # 榜单模板编号列表 |
| | | |
| | | # Boss历练榜单模版表 |
| | | class IPY_ActBossTrialTemplate(): |
| | | |
| | | def __init__(self): |
| | | self.TemplateID = 0
|
| | | self.Rank = 0
|
| | | self.AwardItemList = [] |
| | | return |
| | | |
| | | def GetTemplateID(self): return self.TemplateID # 模板编号
|
| | | def GetRank(self): return self.Rank # 名次
|
| | | def GetAwardItemList(self): return self.AwardItemList # 奖励物品信息列表 [[物品ID,个数,是否拍品], ...] |
| | | |
| | | # 仙匣秘境活动时间表 |
| | | class IPY_ActXianXiaMJ(): |
| | |
| | | self.ipyConfigEx = {}
|
| | | self.ipyFuncConfigCache = self.__LoadFileData("FuncConfig", IPY_FuncConfig)
|
| | | self.ipyFuncConfigLen = len(self.ipyFuncConfigCache)
|
| | | self.ipyCreateRoleCache = self.__LoadFileData("CreateRole", IPY_CreateRole)
|
| | | self.ipyCreateRoleLen = len(self.ipyCreateRoleCache)
|
| | | self.ipyCreateRoleLimitServerCache = self.__LoadFileData("CreateRoleLimitServer", IPY_CreateRoleLimitServer)
|
| | | self.ipyCreateRoleLimitServerLen = len(self.ipyCreateRoleLimitServerCache)
|
| | | self.ipyWorldLVCache = self.__LoadFileData("WorldLV", IPY_WorldLV)
|
| | |
| | | self.ipyActCollectWordsLen = len(self.ipyActCollectWordsCache)
|
| | | self.ipyActGarbageSortingCache = self.__LoadFileData("ActGarbageSorting", IPY_ActGarbageSorting)
|
| | | self.ipyActGarbageSortingLen = len(self.ipyActGarbageSortingCache)
|
| | | self.ipyActBossTrialCache = self.__LoadFileData("ActBossTrial", IPY_ActBossTrial)
|
| | | self.ipyActBossTrialLen = len(self.ipyActBossTrialCache)
|
| | | self.ipyActBossTrialTemplateCache = self.__LoadFileData("ActBossTrialTemplate", IPY_ActBossTrialTemplate)
|
| | | self.ipyActBossTrialTemplateLen = len(self.ipyActBossTrialTemplateCache)
|
| | | self.ipyActXianXiaMJCache = self.__LoadFileData("ActXianXiaMJ", IPY_ActXianXiaMJ)
|
| | | self.ipyActXianXiaMJLen = len(self.ipyActXianXiaMJCache)
|
| | | self.ipyActGodGiftCache = self.__LoadFileData("ActGodGift", IPY_ActGodGift)
|
| | |
| | |
|
| | | def GetFuncConfigCount(self): return self.ipyFuncConfigLen
|
| | | def GetFuncConfigByIndex(self, index): return self.ipyFuncConfigCache[index]
|
| | | def GetCreateRoleCount(self): return self.ipyCreateRoleLen
|
| | | def GetCreateRoleByIndex(self, index): return self.ipyCreateRoleCache[index]
|
| | | def GetCreateRoleLimitServerCount(self): return self.ipyCreateRoleLimitServerLen
|
| | | def GetCreateRoleLimitServerByIndex(self, index): return self.ipyCreateRoleLimitServerCache[index]
|
| | | def GetWorldLVCount(self): return self.ipyWorldLVLen
|
| | |
| | | def GetActCollectWordsByIndex(self, index): return self.ipyActCollectWordsCache[index]
|
| | | def GetActGarbageSortingCount(self): return self.ipyActGarbageSortingLen
|
| | | def GetActGarbageSortingByIndex(self, index): return self.ipyActGarbageSortingCache[index]
|
| | | def GetActBossTrialCount(self): return self.ipyActBossTrialLen
|
| | | def GetActBossTrialByIndex(self, index): return self.ipyActBossTrialCache[index]
|
| | | def GetActBossTrialTemplateCount(self): return self.ipyActBossTrialTemplateLen
|
| | | def GetActBossTrialTemplateByIndex(self, index): return self.ipyActBossTrialTemplateCache[index]
|
| | | def GetActXianXiaMJCount(self): return self.ipyActXianXiaMJLen
|
| | | def GetActXianXiaMJByIndex(self, index): return self.ipyActXianXiaMJCache[index]
|
| | | def GetActGodGiftCount(self): return self.ipyActGodGiftLen
|